ETB is sticky around zero and does not want to close all the way #943

fixing build
This commit is contained in:
rusefi 2019-09-23 00:41:35 -04:00
parent 89ed15838f
commit b66f3a8229
1 changed files with 2 additions and 0 deletions

View File

@ -581,6 +581,7 @@ void initElectronicThrottle(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
}
autoTune.SetOutputStep(0.1);
#if ! EFI_UNIT_TEST
percent_t startupThrottlePosition = getTPS(PASS_ENGINE_PARAMETER_SIGNATURE);
if (absF(startupThrottlePosition - engineConfiguration->etbNeutralPosition) > STARTUP_NEUTRAL_POSITION_ERROR_THRESHOLD) {
/**
@ -591,6 +592,7 @@ void initElectronicThrottle(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
engineConfiguration->etbNeutralPosition);
startupPositionError = true;
}
#endif /* EFI_UNIT_TEST */
startETBPins(PASS_ENGINE_PARAMETER_SIGNATURE);