only:ts_show_jam_detection

This commit is contained in:
rusefillc 2025-01-15 14:30:06 -05:00
parent d76cc0242e
commit ea0a837d28
2 changed files with 5 additions and 4 deletions

View File

@ -2176,6 +2176,7 @@ end_struct
#define pedalToTpsTbl_NAME "ETB pedal target"
#define pedalSensor_NAME "Accelerator pedal"
#define ts_show_charge_estimation true
#define ts_show_jam_detection true
#define ts_show_acr_pins true
#define VE_MENU_NAME "VE"
#define VE_TABLE_NAME "VE Table"

View File

@ -4854,10 +4854,10 @@ dialog = tcuControls, "Transmission Settings"
field = "Minimum ETB position", etbMinimumPosition
field = "Maximum ETB position", etbMaximumPosition
field = ""
field = "Jam detection error max", etbJamDetectThreshold, { etbJamDetectThreshold == 0 || etbJamTimeout != 0 }
field = "Jam detection timeout period", etbJamTimeout, { etbJamDetectThreshold != 0 }
field = "Disables jam detection for testing until the next power cycle"
commandButton = "Temporarily disable jam detection", cmd_etb_disable_jam_detect
field = "Jam detection error max", etbJamDetectThreshold, { etbJamDetectThreshold == 0 || etbJamTimeout != 0 }@@if_ts_show_jam_detection
field = "Jam detection timeout period", etbJamTimeout, { etbJamDetectThreshold != 0 }@@if_ts_show_jam_detection
field = "Disables jam detection for testing until the next power cycle"@@if_ts_show_jam_detection@@if_ts_show_jam_detection
commandButton = "Temporarily disable jam detection", cmd_etb_disable_jam_detect@@if_ts_show_jam_detection
panel = etbIndicatorPanel
; we need the term about stepper idle in here, because there's a bug in TS that you can't have different visibility
; criteria for the same panel when used in multiple places