This commit is contained in:
rusefi 2017-06-04 21:15:44 -04:00
parent 725e855e28
commit 98b5b99017
1 changed files with 1 additions and 8 deletions

View File

@ -63,7 +63,6 @@ void idleDebug(const char *msg, percent_t value) {
scheduleMsg(logger, "idle debug: %s%f", msg, value);
}
static void showIdleInfo(void) {
const char * idleModeStr = getIdle_mode_e(engineConfiguration->idleMode);
scheduleMsg(logger, "idleMode=%s position=%f isStepper=%s", idleModeStr,
@ -150,14 +149,8 @@ static void undoIdleBlipIfNeeded() {
}
}
static percent_t currentIdleValve = -1;
percent_t getIdlePosition(void) {
if (engineConfiguration->idleMode == IM_AUTO) {
return currentIdleValve;
} else {
return boardConfiguration->manIdlePosition;
}
return currentIdlePosition;
}
static float autoIdle(float cltCorrection) {