got deeper into the rabbit hole and now I am confused about something else

This commit is contained in:
rusefi 2019-01-24 00:19:01 -05:00
parent c7cf1d0151
commit d2164a51a0
1 changed files with 2 additions and 0 deletions

View File

@ -238,6 +238,8 @@ void rpmShaftPositionCallback(trigger_event_e ckpSignalType,
if (index == 0) {
ENGINE(m.beforeRpmCb) = GET_TIMESTAMP();
// WAT? we are here in case of trigger sync. why are we checking (incorrectly)
// if engine is spinning and STOPPING it (incorrectly since 'lastRpmEventTimeNt' was not assigned yet?)
bool hadRpmRecently = rpmState->checkIfSpinning(PASS_ENGINE_PARAMETER_SIGNATURE);
if (hadRpmRecently) {