parent
3857607fc2
commit
c649b05ebd
|
@ -221,9 +221,13 @@ void applyIACposition(percent_t position DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
||||||
setEtbIdlePosition(position PASS_ENGINE_PARAMETER_SUFFIX);
|
setEtbIdlePosition(position PASS_ENGINE_PARAMETER_SUFFIX);
|
||||||
#endif // EFI_ELECTRONIC_THROTTLE_BODY
|
#endif // EFI_ELECTRONIC_THROTTLE_BODY
|
||||||
#if ! EFI_UNIT_TEST
|
#if ! EFI_UNIT_TEST
|
||||||
} if (CONFIG(useStepperIdle)) {
|
} else if (CONFIG(useStepperIdle)) {
|
||||||
iacMotor.setTargetPosition(duty * engineConfiguration->idleStepperTotalSteps);
|
iacMotor.setTargetPosition(duty * engineConfiguration->idleStepperTotalSteps);
|
||||||
#endif /* EFI_UNIT_TEST */
|
#endif /* EFI_UNIT_TEST */
|
||||||
|
} else if (CONFIG(dcMotorIdleValve)) {
|
||||||
|
#if EFI_ELECTRONIC_THROTTLE_BODY
|
||||||
|
setEtbIdlePosition(position PASS_ENGINE_PARAMETER_SUFFIX);
|
||||||
|
#endif // EFI_ELECTRONIC_THROTTLE_BODY
|
||||||
} else {
|
} else {
|
||||||
if (!CONFIG(isDoubleSolenoidIdle)) {
|
if (!CONFIG(isDoubleSolenoidIdle)) {
|
||||||
idleSolenoidOpen.setSimplePwmDutyCycle(duty);
|
idleSolenoidOpen.setSimplePwmDutyCycle(duty);
|
||||||
|
|
Loading…
Reference in New Issue