From b977dc5fac873a0b21e8390af7a181b604b024e7 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Thu, 26 Nov 2020 17:53:01 -0500 Subject: [PATCH] Starter is engaged on start-up in pull-up configuration #1969 --- .../autotest/src/com/rusefi/functional_tests/BaseTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java_console/autotest/src/com/rusefi/functional_tests/BaseTest.java b/java_console/autotest/src/com/rusefi/functional_tests/BaseTest.java index 1fb08c7e6a..4843fc5ce6 100644 --- a/java_console/autotest/src/com/rusefi/functional_tests/BaseTest.java +++ b/java_console/autotest/src/com/rusefi/functional_tests/BaseTest.java @@ -62,12 +62,14 @@ public class BaseTest { sendCommand(getDisableCommand(Fields.CMD_SELF_STIMULATION)); sendCommand(getDisableCommand(Fields.CMD_INJECTION)); sendCommand(getDisableCommand(Fields.CMD_IGNITION)); + sendCommand(getDisableCommand(Fields.CMD_PWM)); // changing engine type while engine is running does not work well - we rightfully // get invalid configuration critical errors sleepSeconds(2); sendCommand("set " + Fields.CMD_ENGINE_TYPE + " " + type, COMPLEX_COMMAND_RETRY, Timeouts.SET_ENGINE_TIMEOUT); // TODO: document the reason for this sleep?! sleepSeconds(3); + sendCommand(getEnableCommand(Fields.CMD_PWM)); sendCommand(getEnableCommand(Fields.CMD_SELF_STIMULATION)); } }