Skip to content

Commit

Permalink
small can board
Browse files Browse the repository at this point in the history
  • Loading branch information
mck1117 committed Dec 29, 2024
1 parent 1fab064 commit 4bc7325
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions firmware/controllers/algo/engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,8 @@ injection_mode_e getCurrentInjectionMode() {
}

auto runningMode = engineConfiguration->injectionMode;

#if EFI_SHAFT_POSITION_INPUT
if (runningMode == IM_SEQUENTIAL) {
bool missingPhaseInfoForSequential =
!engine->triggerCentral.triggerState.hasSynchronizedPhase();
Expand All @@ -464,6 +466,7 @@ injection_mode_e getCurrentInjectionMode() {
return IM_BATCH;
}
}
#endif /* EFI_SHAFT_POSITION_INPUT */

return runningMode;
}
Expand Down

0 comments on commit 4bc7325

Please sign in to comment.