diff --git a/rtos/TARGET_CORTEX/SysTimer.cpp b/rtos/TARGET_CORTEX/SysTimer.cpp index 1eece6c501..894fd54188 100644 --- a/rtos/TARGET_CORTEX/SysTimer.cpp +++ b/rtos/TARGET_CORTEX/SysTimer.cpp @@ -74,6 +74,7 @@ void SysTimer::suspend(uint32_t ticks) { core_util_critical_section_enter(); + remove(); schedule_tick(ticks); _suspend_time_passed = false; _suspended = true;