only:ts_show_trigger_pins true

This commit is contained in:
Andrey 2024-09-23 12:00:16 -04:00
parent 2ddec72fa4
commit 69c3cc6788
2 changed files with 11 additions and 9 deletions

View File

@ -2407,6 +2407,8 @@ end_struct
#define ts_show_analog_divider true
#define ts_show_analog_input_settings true
#define ts_show_flex_inverted true
#define ts_show_trigger_pins true
#define ts_show_strokes true
#define ts_show_spi true
#define ts_show_sd_card true
#define ts_show_can_pins true

View File

@ -2536,8 +2536,8 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@@@ts_command_e_TS_
dialog = trigger_primary, "Primary Trigger"
topicHelp = "triggerHelp"
; see also in firmware '[doesTriggerImplyOperationMode]' tag
field = "Strokes", twoStroke
field = ""
field = "Strokes", twoStroke@@if_ts_show_strokes
field = ""@@if_ts_show_strokes
field = "Trigger type", trigger_type
field = "Total tooth count", trigger_customTotalToothCount, {trigger_type == @@trigger_type_e_TT_TOOTHED_WHEEL@@}, {trigger_type == @@trigger_type_e_TT_TOOTHED_WHEEL@@}
field = "Missing/skipped tooth count", trigger_customSkippedToothCount, {trigger_type == @@trigger_type_e_TT_TOOTHED_WHEEL@@}, {trigger_type == @@trigger_type_e_TT_TOOTHED_WHEEL@@}
@ -2550,15 +2550,15 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@@@ts_command_e_TS_
field = ""
field = ""
field = "#Cam is primary if you have cam sensor as part of trigger shape"
field = "#Cam is primary if you have cam sensor as part of trigger shape"@@if_ts_show_trigger_pins
; cam if
; two-stroke, or
; not crank trigger and ((vague trigger and cam choice) or not vague trigger)
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(@@TRIGGER_CRANK_BASED@@) && ( ( (@@TRIGGER_TYPE_WITHOUT_KNOWN_LOCATION@@) && skippedWheelOnCam) || !(@@TRIGGER_TYPE_WITHOUT_KNOWN_LOCATION@@) ) ) }
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(@@TRIGGER_CRANK_BASED@@) && ( ( (@@TRIGGER_TYPE_WITHOUT_KNOWN_LOCATION@@) && skippedWheelOnCam) || !(@@TRIGGER_TYPE_WITHOUT_KNOWN_LOCATION@@) ) )) }
field = "Primary Edge", invertPrimaryTriggerSignal
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (@@TRIGGER_TYPE_WITH_SECOND_WHEEL@@) ) }
field = "Secondary Edge", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (@@TRIGGER_TYPE_WITH_SECOND_WHEEL@@) }
field = "Cam Sensor (Primary channel)", triggerInputPins1, 1, {twoStroke == 1 || ( !(@@TRIGGER_CRANK_BASED@@) && ( ( (@@TRIGGER_TYPE_WITHOUT_KNOWN_LOCATION@@) && skippedWheelOnCam) || !(@@TRIGGER_TYPE_WITHOUT_KNOWN_LOCATION@@) ) ) }@@if_ts_show_trigger_pins
field = "Crank Sensor (Primary channel)", triggerInputPins1, 1, { !(twoStroke == 1 || ( !(@@TRIGGER_CRANK_BASED@@) && ( ( (@@TRIGGER_TYPE_WITHOUT_KNOWN_LOCATION@@) && skippedWheelOnCam) || !(@@TRIGGER_TYPE_WITHOUT_KNOWN_LOCATION@@) ) )) }@@if_ts_show_trigger_pins
field = "Primary Edge", invertPrimaryTriggerSignal@@if_ts_show_trigger_pins
field = "Secondary channel", triggerInputPins2, { triggerInputPins2 != 0 || (triggerInputPins1 != 0 && (@@TRIGGER_TYPE_WITH_SECOND_WHEEL@@) ) }@@if_ts_show_trigger_pins
field = "Secondary Edge", invertSecondaryTriggerSignal, {triggerInputPins2 != 0 && (@@TRIGGER_TYPE_WITH_SECOND_WHEEL@@) }@@if_ts_show_trigger_pins
dialog = trigger_cams, "Cam Inputs"
field = "!<html><a href=https://rusefi.com/s/vvt>https://rusefi.com/s/vvt</a></html>"
@ -2575,7 +2575,7 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@@@ts_command_e_TS_
field = "Cam sensor bank 2 intake", camInputs3, { camInputs3 != 0 || (vvtMode1 != @@vvt_mode_e_VVT_INACTIVE@@ && camInputs1 != 0 ) }@@if_ts_show_bank2_cam1
field = "Cam sensor bank 2 exhaust", camInputs4, { camInputs4 != 0 || (vvtMode2 != @@vvt_mode_e_VVT_INACTIVE@@ && camInputs2 != 0 ) }@@if_ts_show_bank2_cam2
field = "intake Cam Edge Select", invertCamVVTSignal, { camInputs1 != 0 }
field = "exhaust Cam Edge Select", invertExhaustCamVVTSignal, { camInputs2 != 0 }
field = "exhaust Cam Edge Select", invertExhaustCamVVTSignal, { camInputs2 != 0 }@@if_ts_show_cam2
field = ""
field = "#Set offset so VVT indicates 0 degrees in default position"
field = "VVT offset bank 1 intake", vvtOffsets1, { camInputs1 != 0 }