diff --git a/firmware/controllers/engine_cycle/spark_logic.cpp b/firmware/controllers/engine_cycle/spark_logic.cpp index 00978c8032..db49e4d0c8 100644 --- a/firmware/controllers/engine_cycle/spark_logic.cpp +++ b/firmware/controllers/engine_cycle/spark_logic.cpp @@ -536,6 +536,8 @@ void onTriggerEventSparkLogic(bool limitedSpark, uint32_t trgEventIndex, int rpm if (i == 0 && CONFIG(artificialTestMisfire) && (engine->globalSparkIdCounter % ((int)engineConfiguration->fsio_setting[5]) == 0)) { // artificial misfire on cylinder #1 for testing purposes + // enable artificialMisfire + // set_fsio_setting 6 20 warning(CUSTOM_ERR_6729, "artificial misfire on cylinder #1 for testing purposes %d", engine->globalSparkIdCounter); continue; } diff --git a/firmware/controllers/settings.cpp b/firmware/controllers/settings.cpp index 2f21789027..d307e9f737 100644 --- a/firmware/controllers/settings.cpp +++ b/firmware/controllers/settings.cpp @@ -734,6 +734,8 @@ static void enableOrDisable(const char *param, bool isEnabled) { CONFIG(useTLE8888_cranking_hack) = isEnabled; } else if (strEqualCaseInsensitive(param, "verboseTLE8888")) { CONFIG(verboseTLE8888) = isEnabled; + } else if (strEqualCaseInsensitive(param, "artificialMisfire")) { + CONFIG(artificialTestMisfire) = isEnabled; } else if (strEqualCaseInsensitive(param, "logic_level_trigger")) { CONFIG(displayLogicLevelsInEngineSniffer) = isEnabled; } else if (strEqualCaseInsensitive(param, "can_broadcast")) {