refactoring
This commit is contained in:
parent
38e9892440
commit
767382cf09
|
@ -203,7 +203,7 @@ static msg_t ivThread(int param) {
|
||||||
|
|
||||||
if (timeToStopBlip != 0) {
|
if (timeToStopBlip != 0) {
|
||||||
iacPosition = blipIdlePosition;
|
iacPosition = blipIdlePosition;
|
||||||
} else if (isCranking()) {
|
} else if (isCrankingE(engine)) {
|
||||||
// during cranking it's always manual mode, PID would make no sence during cranking
|
// during cranking it's always manual mode, PID would make no sence during cranking
|
||||||
iacPosition = cltCorrection * engineConfiguration->crankingIACposition;
|
iacPosition = cltCorrection * engineConfiguration->crankingIACposition;
|
||||||
} else if (engineConfiguration->idleMode == IM_MANUAL) {
|
} else if (engineConfiguration->idleMode == IM_MANUAL) {
|
||||||
|
|
Loading…
Reference in New Issue