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