From 449ff446e20b9321a3033f2c53a63e14e9b28c98 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Wed, 3 Feb 2021 11:37:47 -0500 Subject: [PATCH] https://github.com/rusefi/rusefi/issues/2274 --- firmware/controllers/actuators/idle_hardware.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/firmware/controllers/actuators/idle_hardware.cpp b/firmware/controllers/actuators/idle_hardware.cpp index 15e56c52e2..7c6d5bfc78 100644 --- a/firmware/controllers/actuators/idle_hardware.cpp +++ b/firmware/controllers/actuators/idle_hardware.cpp @@ -87,6 +87,10 @@ static void applyIdleSolenoidPinState(int stateIndex, PwmConfig *state) /* pwm_g efiAssertVoid(CUSTOM_ERR_6646, state->multiChannelStateSequence.waveCount == 1, "invalid idle waveCount"); OutputPin *output = state->outputPins[0]; int value = state->multiChannelStateSequence.getChannelState(/*channelIndex*/0, stateIndex); + /** + * - we want stopped engine to be silent to facilitate bench testing of low volume stuff like coil spark + * - we want stopped engine to draw as little amps as possible + */ if (!value /* always allow turning solenoid off */ || (GET_RPM() != 0 || timeToStopIdleTest != 0) /* do not run solenoid unless engine is spinning or bench testing in progress */ ) {