summaryrefslogtreecommitdiff
path: root/hw/bsp/stm32f7
diff options
context:
space:
mode:
authorZixun LI <[email protected]>2025-11-25 15:54:45 +0100
committerZixun LI <[email protected]>2025-11-25 16:30:32 +0100
commit8221ea220bb523b3d8c6bab915a968477a228a16 (patch)
treec05dd51eb4ff2daa007b6c5195148a6019916c20 /hw/bsp/stm32f7
parentfee2d2a034d65aa625bc1a8b32c3b7a51292a39f (diff)
bsp: Disable SysTick ISR if FreeRTOS is enabled
Diffstat (limited to 'hw/bsp/stm32f7')
-rw-r--r--hw/bsp/stm32f7/family.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bsp/stm32f7/family.c b/hw/bsp/stm32f7/family.c
index 38dfaa3bc..ac22c606f 100644
--- a/hw/bsp/stm32f7/family.c
+++ b/hw/bsp/stm32f7/family.c
@@ -105,7 +105,7 @@ void board_init(void) {
SysTick_Config(SystemCoreClock / 1000);
#elif CFG_TUSB_OS == OPT_OS_FREERTOS
- // Explicitly disable systick to prevent its ISR runs before scheduler start
+ // Explicitly disable systick to prevent its ISR from running before scheduler start
SysTick->CTRL &= ~1U;
// If freeRTOS is used, IRQ priority is limit by max syscall ( smaller is higher )