diff --git a/firmware/controllers/settings.cpp b/firmware/controllers/settings.cpp index 369c6a9a27..56502d9196 100644 --- a/firmware/controllers/settings.cpp +++ b/firmware/controllers/settings.cpp @@ -1269,7 +1269,7 @@ static void setValue(const char *paramStr, const char *valueStr) { engineConfiguration->warningPeriod = valueI; } else if (strEqualCaseInsensitive(paramStr, "dwell")) { setConstantDwell(valueF PASS_CONFIG_PARAMETER_SUFFIX); - } else if (strEqualCaseInsensitive(paramStr, "engineSnifferRpmThreshold")) { + } else if (strEqualCaseInsensitive(paramStr, CMD_ENGINESNIFFERRPMTHRESHOLD)) { engineConfiguration->engineSnifferRpmThreshold = valueI; // migrate to new laucnh fields? // } else if (strEqualCaseInsensitive(paramStr, "step1rpm")) { diff --git a/java_console/autotest/src/com/rusefi/AutoTest.java b/java_console/autotest/src/com/rusefi/AutoTest.java index f02ce458bd..18bc33d650 100644 --- a/java_console/autotest/src/com/rusefi/AutoTest.java +++ b/java_console/autotest/src/com/rusefi/AutoTest.java @@ -71,6 +71,8 @@ public class AutoTest extends BaseTest { private void testVW_60_2() { setEngineType(ET_VW_ABA); + // trying to disable engine sniffer to help https://github.com/rusefi/rusefi/issues/1849 + sendCommand("set " + CMD_ENGINESNIFFERRPMTHRESHOLD + " 100"); changeRpm(900); // first let's get to expected RPM assertRpmDoesNotJump(20000, 15, 30, FAIL, commandQueue);