only:gearDetection

This commit is contained in:
rusefillc 2024-10-13 11:28:06 -04:00
parent d8779572f9
commit 8d7552f8e5
2 changed files with 6 additions and 4 deletions

View File

@ -204,6 +204,8 @@ struct_no_prefix engine_configuration_s
#define LOGIC_ANALYZER_CHANNEL_COUNT 4
#define SCRIPT_SETTING_COUNT 8
#define GEAR_DETECTION_DIALOG_NAME "Gear Detection"
#define ts_show_final_ratio true
#define ENGINE_TYPES_DIALOG_NAME "Popular vehicles"
#define VVT1_TARGET_NAME "VVT intake target"
#define GPPWM_1_NAME "General Purpose PWM 1"

View File

@ -4159,10 +4159,10 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@@@ts_command_e_TS_
panel = speedSensorAnalog, { enableCanVss == 0 }
panel = speedSensorCan
dialog = gearDetection, "Gear Detection"
field = "Wheel revolutions per kilometer", driveWheelRevPerKm
field = "Final drive ratio", finalGearRatio
field = ""
dialog = gearDetection, @@GEAR_DETECTION_DIALOG_NAME@@
field = "Wheel revolutions per kilometer", driveWheelRevPerKm@@if_ts_show_final_ratio
field = "Final drive ratio", finalGearRatio@@if_ts_show_final_ratio
field = ""@@if_ts_show_final_ratio
field = "Forward gear count", totalGearsCount
field = ""
field = "1st gear", gearRatio1, { totalGearsCount >= 1 }