Browse Source

system: revert 657061bf behaviour with 'tick' timers

if tick object exists, repeat flag was set for the os_timer_arm()
do not fire more than once when repeating was not requested
pull/2552/head
Maxim Prokhorov 1 year ago
parent
commit
d60689d4b4
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      code/espurna/system.cpp

+ 3
- 0
code/espurna/system.cpp View File

@ -399,6 +399,9 @@ void SystemTimer::callback() {
return;
}
if (_tick) {
os_timer_disarm(_armed);
}
reset();
}


Loading…
Cancel
Save