Skip to content

Commit f92c227

Browse files
author
Cruz Monrreal
authored
Merge pull request #7027 from c1728p9/timer_fix
Fix possible bug with SysTimer
2 parents 0abf0cf + aa6b931 commit f92c227

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rtos/TARGET_CORTEX/SysTimer.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ void SysTimer::suspend(uint32_t ticks)
7474
{
7575
core_util_critical_section_enter();
7676

77+
remove();
7778
schedule_tick(ticks);
7879
_suspend_time_passed = false;
7980
_suspended = true;

0 commit comments

Comments
 (0)