diff --git a/firmware/controllers/bench_test.cpp b/firmware/controllers/bench_test.cpp index b52811662b..3839b8776c 100644 --- a/firmware/controllers/bench_test.cpp +++ b/firmware/controllers/bench_test.cpp @@ -465,6 +465,7 @@ void initBenchTest(Logging *sharedLogger) { addConsoleAction("acrelaybench", acRelayBench); addConsoleActionS("fuelpumpbench2", fuelPumpBenchExt); addConsoleAction("fanbench", fanBench); + addConsoleAction("mainrelaybench", mainRelayBench); addConsoleActionS("fanbench2", fanBenchExt); addConsoleAction("update_wideband", []() { widebandUpdatePending = true; }); diff --git a/firmware/controllers/core/fsio_core.h b/firmware/controllers/core/fsio_core.h index b220517aaa..5c988bbf2d 100644 --- a/firmware/controllers/core/fsio_core.h +++ b/firmware/controllers/core/fsio_core.h @@ -57,6 +57,7 @@ typedef enum { LE_METHOD_FSIO_SETTING = 124, LE_METHOD_PPS = 125, LE_METHOD_TIME_SINCE_TRIGGER_EVENT = 127, + LE_METHOD_IN_MR_BENCH = 128, #include "fsio_enums_generated.def" diff --git a/firmware/controllers/core/fsio_impl.cpp b/firmware/controllers/core/fsio_impl.cpp index f671b05498..51cd2da4bd 100644 --- a/firmware/controllers/core/fsio_impl.cpp +++ b/firmware/controllers/core/fsio_impl.cpp @@ -71,6 +71,7 @@ static LENameOrdinalPair leExhaustVVT(LE_METHOD_EXHAUST_VVT, "evvt"); static LENameOrdinalPair leCrankingRpm(LE_METHOD_CRANKING_RPM, "cranking_rpm"); static LENameOrdinalPair leStartupFuelPumpDuration(LE_METHOD_STARTUP_FUEL_PUMP_DURATION, "startup_fuel_pump_duration"); static LENameOrdinalPair leInShutdown(LE_METHOD_IN_SHUTDOWN, "in_shutdown"); +static LENameOrdinalPair leInMrBench(LE_METHOD_IN_SHUTDOWN, "in_mr_bench"); static LENameOrdinalPair leTimeSinceTrigger(LE_METHOD_TIME_SINCE_TRIGGER_EVENT, "time_since_trigger"); #include "fsio_names.def"