From e1af4e6ec6be58a48e453da18d8d4940b4d80ee0 Mon Sep 17 00:00:00 2001 From: rusEfi Date: Mon, 24 Apr 2017 22:35:16 -0400 Subject: [PATCH] dizzybench --- firmware/controllers/injector_central.cpp | 7 +++++++ firmware/rusefi.cpp | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/firmware/controllers/injector_central.cpp b/firmware/controllers/injector_central.cpp index d4794c6db6..e5890a77fd 100644 --- a/firmware/controllers/injector_central.cpp +++ b/firmware/controllers/injector_central.cpp @@ -198,6 +198,12 @@ static void sparkbench(const char * onTimeStr, const char *offTimeStr, const cha sparkbench2("0", "1", onTimeStr, offTimeStr, countStr); } + +void dizzyBench(void) { + pinbench("300", "5", "400", "3", &enginePins.dizzyOutput, engineConfiguration->dizzySparkOutputPin); +} + + static THD_WORKING_AREA(benchThreadStack, UTILITY_THREAD_STACK_SIZE); static msg_t benchThread(int param) { @@ -310,6 +316,7 @@ void initInjectorCentral(Logging *sharedLogger) { addConsoleAction("fuelpumpbench", fuelPumpBench); addConsoleActionS("fuelpumpbench2", fuelPumpBenchExt); addConsoleAction("fanbench", fanBench); + addConsoleAction("dizzybench", dizzyBench); addConsoleAction("milbench", milBench); addConsoleActionSSS("fuelbench", fuelbench); diff --git a/firmware/rusefi.cpp b/firmware/rusefi.cpp index 40d89907b5..763da20926 100644 --- a/firmware/rusefi.cpp +++ b/firmware/rusefi.cpp @@ -251,5 +251,5 @@ int getRusEfiVersion(void) { return 123; // this is here to make the compiler happy about the unused array if (UNUSED_CCM_SIZE[0] * 0 != 0) return 3211; // this is here to make the compiler happy about the unused array - return 20170421; + return 20170424; }