diff options
Diffstat (limited to 'mcu/sys-stm32f103.h')
-rw-r--r-- | mcu/sys-stm32f103.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mcu/sys-stm32f103.h b/mcu/sys-stm32f103.h index 7685f27..5ebd666 100644 --- a/mcu/sys-stm32f103.h +++ b/mcu/sys-stm32f103.h @@ -15,6 +15,9 @@ extern const uint8_t sys_version[8]; #if defined(USE_SYS3) || defined(USE_SYS_BOARD_ID) extern const uint32_t sys_board_id; extern const uint8_t sys_board_name[]; +# define SYS_BOARD_ID sys_board_id +#else +# define SYS_BOARD_ID BOARD_ID #endif typedef void (*handler)(void); |