From 2221cbd7914630450b8ef38534582ce659ddd741 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Fri, 1 Mar 2024 13:05:10 -0500 Subject: [PATCH] only: flexible injector naming fix #6107 --- .../boards/hellen/hellen-honda-k/prepend.txt | 6 ++++ .../hellen/hellen154hyundai/prepend.txt | 4 +-- firmware/tunerstudio/rusefi.input | 28 +++++++++---------- 3 files changed, 22 insertions(+), 16 deletions(-) diff --git a/firmware/config/boards/hellen/hellen-honda-k/prepend.txt b/firmware/config/boards/hellen/hellen-honda-k/prepend.txt index ca9e97ab6e..bfd2708aba 100644 --- a/firmware/config/boards/hellen/hellen-honda-k/prepend.txt +++ b/firmware/config/boards/hellen/hellen-honda-k/prepend.txt @@ -21,7 +21,13 @@ #define ts_show_tps2 false #define ts_show_cylinder_5 false +#define ts_show_cylinder_6 false +#define ts_show_cylinder_7 false +#define ts_show_cylinder_8 false +#define ts_show_cylinder_9 false #define ts_show_cylinder_10 false +#define ts_show_cylinder_11 false +#define ts_show_cylinder_12 false #define show_Hellen_hyundai_154 false diff --git a/firmware/config/boards/hellen/hellen154hyundai/prepend.txt b/firmware/config/boards/hellen/hellen154hyundai/prepend.txt index 64751020e3..06a0b21639 100644 --- a/firmware/config/boards/hellen/hellen154hyundai/prepend.txt +++ b/firmware/config/boards/hellen/hellen154hyundai/prepend.txt @@ -21,7 +21,7 @@ #define ts_show_tps2 false #define ts_show_cylinder_10 false - - +#define ts_show_cylinder_11 false +#define ts_show_cylinder_12 false #define show_Hellen_hyundai_154 true diff --git a/firmware/tunerstudio/rusefi.input b/firmware/tunerstudio/rusefi.input index 4df01def43..d5679dba19 100644 --- a/firmware/tunerstudio/rusefi.input +++ b/firmware/tunerstudio/rusefi.input @@ -2572,13 +2572,13 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@@@ts_command_e_TS_ commandButton = "Injector #3", cmd_test_inj3, { cylindersCount >= 3 }@@if_ts_show_cylinder_3 commandButton = "Injector #4", cmd_test_inj4, { cylindersCount >= 4 }@@if_ts_show_cylinder_4 commandButton = "Injector #5", cmd_test_inj5, { cylindersCount >= 5 }@@if_ts_show_cylinder_5 - commandButton = "Injector #6", cmd_test_inj6, { cylindersCount >= 6 } - commandButton = "Injector #7", cmd_test_inj7, { cylindersCount >= 7 } - commandButton = "Injector #8", cmd_test_inj8, { cylindersCount >= 8 } - commandButton = "Injector #9", cmd_test_inj9, { cylindersCount >= 9 } + commandButton = "Injector #6", cmd_test_inj6, { cylindersCount >= 6 }@@if_ts_show_cylinder_6 + commandButton = "Injector #7", cmd_test_inj7, { cylindersCount >= 7 }@@if_ts_show_cylinder_7 + commandButton = "Injector #8", cmd_test_inj8, { cylindersCount >= 8 }@@if_ts_show_cylinder_8 + commandButton = "Injector #9", cmd_test_inj9, { cylindersCount >= 9 }@@if_ts_show_cylinder_9 commandButton = "Injector #10", cmd_test_inj10, { cylindersCount >= 10 }@@if_ts_show_cylinder_10 - commandButton = "Injector #11", cmd_test_inj11, { cylindersCount >= 11 } - commandButton = "Injector #12", cmd_test_inj12, { cylindersCount >= 12 } + commandButton = "Injector #11", cmd_test_inj11, { cylindersCount >= 11 }@@if_ts_show_cylinder_11 + commandButton = "Injector #12", cmd_test_inj12, { cylindersCount >= 12 }@@if_ts_show_cylinder_12 commandButton = "Abort test", cmd_test_cancel dialog = testSolenoids, "TCU Solenoid Test" @@ -4492,16 +4492,16 @@ dialog = tcuControls, "Transmission Settings" dialog = testSpark, "Spark" commandButton = @@COIL_1_NAME@@, cmd_test_spk1 commandButton = @@COIL_2_NAME@@, cmd_test_spk2, { cylindersCount >= 2 } - commandButton = "Spark #3", cmd_test_spk3, { cylindersCount >= 3 } - commandButton = "Spark #4", cmd_test_spk4, { cylindersCount >= 4 } + commandButton = "Spark #3", cmd_test_spk3, { cylindersCount >= 3 }@@if_ts_show_cylinder_3 + commandButton = "Spark #4", cmd_test_spk4, { cylindersCount >= 4 }@@if_ts_show_cylinder_4 commandButton = "Spark #5", cmd_test_spk5, { cylindersCount >= 5 }@@if_ts_show_cylinder_5 - commandButton = "Spark #6", cmd_test_spk6, { cylindersCount >= 6 } - commandButton = "Spark #7", cmd_test_spk7, { cylindersCount >= 7 } - commandButton = "Spark #8", cmd_test_spk8, { cylindersCount >= 8 } - commandButton = "Spark #9", cmd_test_spk9, { cylindersCount >= 9 } + commandButton = "Spark #6", cmd_test_spk6, { cylindersCount >= 6 }@@if_ts_show_cylinder_6 + commandButton = "Spark #7", cmd_test_spk7, { cylindersCount >= 7 }@@if_ts_show_cylinder_7 + commandButton = "Spark #8", cmd_test_spk8, { cylindersCount >= 8 }@@if_ts_show_cylinder_8 + commandButton = "Spark #9", cmd_test_spk9, { cylindersCount >= 9 }@@if_ts_show_cylinder_9 commandButton = "Spark #10", cmd_test_spk10, { cylindersCount >= 10 }@@if_ts_show_cylinder_10 - commandButton = "Spark #11", cmd_test_spk11, { cylindersCount >= 11 } - commandButton = "Spark #12", cmd_test_spk12, { cylindersCount >= 12 } + commandButton = "Spark #11", cmd_test_spk11, { cylindersCount >= 11 }@@if_ts_show_cylinder_11 + commandButton = "Spark #12", cmd_test_spk12, { cylindersCount >= 12 }@@if_ts_show_cylinder_12 commandButton = "Abort test", cmd_test_cancel dialog = testMisc, "Misc"