Skip to content

Commit eb76cc6

Browse files
AlexKlimajdagar
authored andcommitted
stm32 bootloader: use STM32_CPUCLK_FREQUENCY for systick_mhz
1 parent 15dd55e commit eb76cc6

File tree

1 file changed

+1
-1
lines changed
  • platforms/nuttx/src/bootloader/stm/stm32_common

1 file changed

+1
-1
lines changed

platforms/nuttx/src/bootloader/stm/stm32_common/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ struct boardinfo board_info = {
9595
.board_type = BOARD_TYPE,
9696
.board_rev = 0,
9797
.fw_size = 0,
98-
.systick_mhz = 480,
98+
.systick_mhz = STM32_CPUCLK_FREQUENCY/1000000,
9999
};
100100

101101
static void board_init(void);

0 commit comments

Comments
 (0)