From 4ad584d3ccaa740aca811a6bcc95f74b4b7a9e1b Mon Sep 17 00:00:00 2001 From: rusefillc Date: Thu, 12 Aug 2021 18:34:06 -0400 Subject: [PATCH] dead idle FSIO --- firmware/controllers/core/fsio_impl.cpp | 9 --------- firmware/controllers/core/fsio_impl.h | 6 ------ firmware/tunerstudio/rusefi.input | 3 --- 3 files changed, 18 deletions(-) diff --git a/firmware/controllers/core/fsio_impl.cpp b/firmware/controllers/core/fsio_impl.cpp index cc113dd8b0..9426719830 100644 --- a/firmware/controllers/core/fsio_impl.cpp +++ b/firmware/controllers/core/fsio_impl.cpp @@ -501,15 +501,6 @@ void runFsio(DECLARE_ENGINE_PARAMETER_SIGNATURE) { } #endif /* EFI_ENABLE_CRITICAL_ENGINE_STOP */ - if (engineConfiguration->useFSIO12ForIdleOffset) { - updateValueOrWarning(MAGIC_OFFSET_FOR_IDLE_OFFSET, "idle offset", &ENGINE(fsioState.fsioIdleOffset) PASS_ENGINE_PARAMETER_SUFFIX); - } - if (engineConfiguration->useFSIO13ForIdleMinValue) { - updateValueOrWarning(MAGIC_OFFSET_FOR_IDLE_MIN_VALUE, "idle minValue", &ENGINE(fsioState.fsioIdleMinValue) PASS_ENGINE_PARAMETER_SUFFIX); - } - if (engineConfiguration->useFSIO15ForIdleRpmAdjustment) { - updateValueOrWarning(MAGIC_OFFSET_FOR_IDLE_TARGET_RPM, "RPM target", &ENGINE(fsioState.fsioIdleTargetRPMAdjustment) PASS_ENGINE_PARAMETER_SUFFIX); - } if (engineConfiguration->useFSIO16ForTimingAdjustment) { updateValueOrWarning(MAGIC_OFFSET_FOR_TIMING_FSIO, "timing", &ENGINE(fsioState.fsioTimingAdjustment) PASS_ENGINE_PARAMETER_SUFFIX); } diff --git a/firmware/controllers/core/fsio_impl.h b/firmware/controllers/core/fsio_impl.h index b418bb88d0..171c06250c 100644 --- a/firmware/controllers/core/fsio_impl.h +++ b/firmware/controllers/core/fsio_impl.h @@ -16,12 +16,6 @@ #define MAGIC_OFFSET_FOR_ENGINE_WARNING 4 // see useFSIO5ForCriticalIssueEngineStop #define MAGIC_OFFSET_FOR_CRITICAL_ENGINE 5 -// see useFSIO12ForIdleOffset -#define MAGIC_OFFSET_FOR_IDLE_OFFSET 12 -// see useFSIO13ForIdleMinValue -#define MAGIC_OFFSET_FOR_IDLE_MIN_VALUE 13 -// see useFSIO15ForIdleRpmAdjustment -#define MAGIC_OFFSET_FOR_IDLE_TARGET_RPM 15 // see useFSIO16ForTimingAdjustment #define MAGIC_OFFSET_FOR_TIMING_FSIO 16 diff --git a/firmware/tunerstudio/rusefi.input b/firmware/tunerstudio/rusefi.input index 2bdcd74602..2d0b5ce3c3 100644 --- a/firmware/tunerstudio/rusefi.input +++ b/firmware/tunerstudio/rusefi.input @@ -3319,12 +3319,9 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@\x00\x31\x00\x00" field = "use FSIO #11 for servo #4", useFSIO11ForServo4 field = "#11", fsioFormulas11 field = "use FSIO #12 for servo #5", useFSIO12ForServo5 - field = "use FSIO #12 idle offset", useFSIO12ForIdleOffset field = "#12", fsioFormulas12 - field = "use FSIO #13 idle min value", useFSIO13ForIdleMinValue field = "#13", fsioFormulas13 field = "#14", fsioFormulas14 - field = "use FSIO #15 for target idle RPM adjustment", useFSIO15ForIdleRpmAdjustment field = "#15", fsioFormulas15 field = "use FSIO #16 for timing adjustment", useFSIO16ForTimingAdjustment field = "#16", fsioFormulas16