diff --git a/hw/mcu/stm/stm32f1xx/src/rtc_tick_stm32f1xx.c b/hw/mcu/stm/stm32f1xx/src/rtc_tick_stm32f1xx.c index 3220991f32..9f27be4f17 100644 --- a/hw/mcu/stm/stm32f1xx/src/rtc_tick_stm32f1xx.c +++ b/hw/mcu/stm/stm32f1xx/src/rtc_tick_stm32f1xx.c @@ -120,6 +120,7 @@ os_tick_init(uint32_t os_ticks_per_sec, int prio) .PeriphClockSelection = RCC_PERIPHCLK_RTC, .RTCClockSelection = RCC_RTCCLKSOURCE_LSE, }; + SysTick->CTRL = 0; HAL_RCCEx_PeriphCLKConfig(&clock_init); __HAL_RCC_RTC_ENABLE();