Skip to content

Commit

Permalink
ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
mck1117 committed Aug 13, 2024
1 parent 96e1df0 commit fc39c1a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions firmware/controllers/core/main_loop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ void MainLoop::PeriodicTask(efitick_t nowNt) {
}
#endif // EFI_ELECTRONIC_THROTTLE_BODY

if (p & FAST_CALLBACK_RATE) {
engine->periodicFastCallback();
}

if (p & SLOW_CALLBACK_RATE) {
doPeriodicSlowCallback();
}

if (p & FAST_CALLBACK_RATE) {
engine->periodicFastCallback();
}
}

template <LoopPeriod flag>
Expand Down

0 comments on commit fc39c1a

Please sign in to comment.