From 2cc0272047c23c99fa208241857a59eb135850e2 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Sat, 24 Jul 2021 10:59:26 -0400 Subject: [PATCH] Rename "2 wire wasted" in TS ignition settings fix #3048 --- firmware/controllers/algo/rusefi_enums.h | 4 ++-- firmware/tunerstudio/rusefi.input | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/firmware/controllers/algo/rusefi_enums.h b/firmware/controllers/algo/rusefi_enums.h index 005b4efd9f..86c3182b4f 100644 --- a/firmware/controllers/algo/rusefi_enums.h +++ b/firmware/controllers/algo/rusefi_enums.h @@ -630,7 +630,7 @@ typedef enum { * in this mode we use as many coils as we have cylinders */ IM_INDIVIDUAL_COILS = 1, - IM_WASTED_SPARK = 2, + IM_WASTED_SPARK = IM_IM_WASTED_SPARK, /** * some v12 engines line BMW M70 and M73 run two distributors, one for each bank of cylinders @@ -658,7 +658,7 @@ typedef enum { * todo: we might want to implement one additional mode where each pair of injectors is floating twice per engine cycle. * todo: this could reduce phase offset from injection to stroke but would not work great for large injectors */ - IM_BATCH = 2, + IM_BATCH = IM_IM_BATCH, /** * only one injector located in throttle body */ diff --git a/firmware/tunerstudio/rusefi.input b/firmware/tunerstudio/rusefi.input index 70cb055853..63503a8ddb 100644 --- a/firmware/tunerstudio/rusefi.input +++ b/firmware/tunerstudio/rusefi.input @@ -1811,7 +1811,7 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@\x00\x31\x00\x00" field = "Enabled", isInjectionEnabled field = "Mode", injectionMode, {isInjectionEnabled == 1} field = "#Batch injection with individual wiring" - field = "Two wire batch emulation", twoWireBatchInjection, {isInjectionEnabled == 1 && injectionMode == 2} + field = "Individually wired Batch Fuel", twoWireBatchInjection, {isInjectionEnabled == 1 && injectionMode == @@IM_IM_BATCH@@ } field = "Override VE table load axis", veOverrideMode, { isInjectionEnabled } field = "Override AFR table load axis", afrOverrideMode, { isInjectionEnabled } @@ -1825,7 +1825,7 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@\x00\x31\x00\x00" dialog = ignitionBasic, "" field = "Enabled", isIgnitionEnabled field = "Mode", ignitionMode, {isIgnitionEnabled == 1} - field = "Two wire wasted", twoWireBatchIgnition, {isIgnitionEnabled == 1 && ignitionMode == 2} + field = "Individually wired Wasted Spark", twoWireBatchIgnition, {isIgnitionEnabled == 1 && ignitionMode == @@IM_IM_WASTED_SPARK @@ } field = "Override ignition table load axis", ignOverrideMode, {isIgnitionEnabled} field = "#Use fixed timing while validating with a timing gun" field = "Timing Mode", timingMode, {isIgnitionEnabled == 1}