Merge pull request #7027 from c1728p9/timer_fix

Fix possible bug with SysTimer
pull/7063/merge
Cruz Monrreal 2018-05-31 11:07:34 -05:00 committed by GitHub
commit f92c227558
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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;