Skip to content

Commit

Permalink
stm32 bootloader: use STM32_CPUCLK_FREQUENCY for systick_mhz
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKlimaj authored and dagar committed Nov 19, 2024
1 parent 15dd55e commit eb76cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/nuttx/src/bootloader/stm/stm32_common/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ struct boardinfo board_info = {
.board_type = BOARD_TYPE,
.board_rev = 0,
.fw_size = 0,
.systick_mhz = 480,
.systick_mhz = STM32_CPUCLK_FREQUENCY/1000000,
};

static void board_init(void);
Expand Down

0 comments on commit eb76cc6

Please sign in to comment.