ETB is sticky around zero and does not want to close all the way #943
fixing build
This commit is contained in:
parent
89ed15838f
commit
b66f3a8229
|
@ -581,6 +581,7 @@ void initElectronicThrottle(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
}
|
}
|
||||||
autoTune.SetOutputStep(0.1);
|
autoTune.SetOutputStep(0.1);
|
||||||
|
|
||||||
|
#if ! EFI_UNIT_TEST
|
||||||
percent_t startupThrottlePosition = getTPS(PASS_ENGINE_PARAMETER_SIGNATURE);
|
percent_t startupThrottlePosition = getTPS(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||||
if (absF(startupThrottlePosition - engineConfiguration->etbNeutralPosition) > STARTUP_NEUTRAL_POSITION_ERROR_THRESHOLD) {
|
if (absF(startupThrottlePosition - engineConfiguration->etbNeutralPosition) > STARTUP_NEUTRAL_POSITION_ERROR_THRESHOLD) {
|
||||||
/**
|
/**
|
||||||
|
@ -591,6 +592,7 @@ void initElectronicThrottle(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
engineConfiguration->etbNeutralPosition);
|
engineConfiguration->etbNeutralPosition);
|
||||||
startupPositionError = true;
|
startupPositionError = true;
|
||||||
}
|
}
|
||||||
|
#endif /* EFI_UNIT_TEST */
|
||||||
|
|
||||||
startETBPins(PASS_ENGINE_PARAMETER_SIGNATURE);
|
startETBPins(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue