From eb76cc6001347965a4a55af8ed772a061b1920b5 Mon Sep 17 00:00:00 2001 From: alexklimaj Date: Mon, 4 Nov 2024 14:47:16 -0700 Subject: [PATCH] stm32 bootloader: use STM32_CPUCLK_FREQUENCY for systick_mhz --- platforms/nuttx/src/bootloader/stm/stm32_common/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/nuttx/src/bootloader/stm/stm32_common/main.c b/platforms/nuttx/src/bootloader/stm/stm32_common/main.c index cccfd41bea4c..626ec439f578 100644 --- a/platforms/nuttx/src/bootloader/stm/stm32_common/main.c +++ b/platforms/nuttx/src/bootloader/stm/stm32_common/main.c @@ -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);