refactoring

This commit is contained in:
rusefi 2017-05-25 22:37:07 -04:00
parent 38e9892440
commit 767382cf09
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ static msg_t ivThread(int param) {
if (timeToStopBlip != 0) {
iacPosition = blipIdlePosition;
} else if (isCranking()) {
} else if (isCrankingE(engine)) {
// during cranking it's always manual mode, PID would make no sence during cranking
iacPosition = cltCorrection * engineConfiguration->crankingIACposition;
} else if (engineConfiguration->idleMode == IM_MANUAL) {