Browse Source

system: revert 657061bf completely

disarm is *required* by the underlying API, don't miss it on start()
while the func uses a resource lock internally, it does not seem to be the
source of system lock-ups encountered so far
pull/2552/head
Maxim Prokhorov 1 year ago
parent
commit
fce3adf2b2
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      code/espurna/system.cpp

+ 1
- 4
code/espurna/system.cpp View File

@ -399,10 +399,7 @@ void SystemTimer::callback() {
return;
}
if (_tick) {
os_timer_disarm(_armed);
}
reset();
stop();
}
void SystemTimer::schedule_once(Duration duration, Callback callback) {


Loading…
Cancel
Save