add button (#1303)

This commit is contained in:
Matthew Kennedy 2020-04-15 15:22:30 -07:00 committed by GitHub
parent bc15e0826d
commit 1e79bc84ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -258,9 +258,10 @@ static void handleCommandX14(uint16_t index) {
case 0xB:
starterRelayBench();
return;
case 0xC:
engine->etbAutoTune = true;
return;
}
}
// todo: this is probably a wrong place for this method now

View File

@ -1440,6 +1440,7 @@ cmd_tle8888_init = "w\x00\x14\x00\x08"
cmd_test_ac_relay = "w\x00\x14\x00\x09"
cmd_write_config = "w\x00\x14\x00\x0A"
cmd_test_starter_relay = "w\x00\x14\x00\x0B"
cmd_etb_autotune = "w\x00\x14\x00\x0C"
cmd_test_radiator_fan = "w\x00\x15\x00\x01"
cmd_test_check_engine_light = "w\x00\x16\x00\x01"
@ -2728,6 +2729,7 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00"
commandButton = "TPS#2 wide open position", cmd_calibrate_tps_2_wot
commandButton = "Pedal Up", cmd_calibrate_pedal_up
commandButton = "Pedal Down", cmd_calibrate_pedal_down
commandButton = "ETB PID Autotune", cmd_etb_autotune
dialog = etbDialog, "Electronic Throttle Body (beta)", border
topicHelp = "etbHelp"