disable bench VVT buttons if RPM above zero #5698

This commit is contained in:
rusefillc 2023-11-06 15:26:29 -05:00
parent 47bfa1fdff
commit 12b268a757
1 changed files with 4 additions and 4 deletions

View File

@ -3747,8 +3747,8 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@@@ts_command_e_TS_
field = "D factor", auxPid1_dFactor, {vvtPins1 != 0}
field = "Min", auxPid1_minValue, {vvtPins1 != 0}
field = "Max", auxPid1_maxValue, {vvtPins1 != 0}
commandButton = "VVT 1", cmd_test_vvt0_valve
commandButton = "VVT 2", cmd_test_vvt2_valve
commandButton = "Bench bank 1", cmd_test_vvt0_valve, { engineTurnedRecently == 0 }
commandButton = "Bench bank 2", cmd_test_vvt2_valve, { engineTurnedRecently == 0 }
dialog = vvtPidDialog2, "Exhaust PID"
field = "offset", auxPid2_offset, {vvtPins2 != 0}
@ -3757,8 +3757,8 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@@@ts_command_e_TS_
field = "D factor", auxPid2_dFactor, {vvtPins2 != 0}
field = "Min", auxPid2_minValue, {vvtPins2 != 0}
field = "Max", auxPid2_maxValue, {vvtPins2 != 0}
commandButton = "VVT 1", cmd_test_vvt1_valve
commandButton = "VVT 2", cmd_test_vvt3_valve
commandButton = "Bench bank 1", cmd_test_vvt1_valve, { engineTurnedRecently == 0 }
commandButton = "Bench bank 2", cmd_test_vvt3_valve, { engineTurnedRecently == 0 }
dialog = vvtPidDialog, "VVT Configuration & PID", border
panel = vvtPidDialog0, West