From 0f4c726aa06e33fbeb4985db09aba4c3b03118fc Mon Sep 17 00:00:00 2001 From: rusefi Date: Sun, 24 Oct 2021 18:22:01 -0400 Subject: [PATCH] https://www.rusefi.com/forum/viewtopic.php?f=18&t=2170 --- firmware/integration/rusefi_config.txt | 3 ++- firmware/tunerstudio/rusefi.input | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 66dac7ba84..df9e2d7bf3 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -1160,7 +1160,8 @@ bit unusedBitHere4 adc_channel_e vRefAdcChannel; uint8_t etbNeutralPosition;+Expected neutral position;"%", 1, 0, 0, 100, 0 -custom idle_mode_e 4 bits, U32, @OFFSET@, [0:0], "Automatic", "Manual" +! todo: convert this into a bit setting no need for 4 bytes and we do not expect a third option any day soon +custom idle_mode_e 4 bits, U32, @OFFSET@, [0:0], "Closed Loop", "Open Loop" idle_mode_e idleMode;See also idleRpmPid; bit isInjectionEnabled;+Enable fuel injection - This is default off for new projects as a safety feature, set to "true" to enable fuel injection and further injector settings. diff --git a/firmware/tunerstudio/rusefi.input b/firmware/tunerstudio/rusefi.input index 6b11dce37b..f32176b95b 100644 --- a/firmware/tunerstudio/rusefi.input +++ b/firmware/tunerstudio/rusefi.input @@ -2780,9 +2780,9 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@\x00\x31\x00\x00" field = "! Solenoid idle control is disabled at zero RPM" - panel = idleGating - panel = idleOpenLoop - panel = idlePidSettings, { idleMode == 0} + panel = idleOpenLoop, { idleMode != @@idle_mode_e_IM_AUTO@@ } + panel = idleGating, { idleMode == @@idle_mode_e_IM_AUTO@@ } + panel = idlePidSettings, { idleMode == @@idle_mode_e_IM_AUTO@@ } panel = idleExtra dialog = idleTimingPidCorrDialog, "", yAxis