Add isShifting TS indicator

This commit is contained in:
David Holdeman 2024-04-10 15:37:23 -05:00 committed by rusefillc
parent 57352718a7
commit bf93a7f7b5
3 changed files with 3 additions and 1 deletions

View File

@ -13,7 +13,6 @@ public:
private:
void setTccState(gear_e gear);
void setPcState(gear_e gear);
bool isShifting = false;
gear_e shiftingFrom;
};

View File

@ -4,4 +4,5 @@ struct_no_prefix tcu_controller_s
float lastShiftTime
uint8_t tcu_currentRange;"TCU: Current Range";"", 1, 0, 0, 0, 0
int8_t pressureControlDuty;"TCU: EPC Duty";"%",1,0,0,100,0
bit isShifting;
end_struct

View File

@ -1773,6 +1773,8 @@ gaugeCategory = GPPWM Outputs
; indicator = { isInjectionEnabled && fuelCutReason == 0 }, { Inj: bitStringValue(injModeList, currentInjectionMode) }, { Inj: bitStringValue(injModeList, currentInjectionMode) }, white, black, white, black
; indicator = { isIgnitionEnabled && sparkCutReason == 0 }, { Ign: bitStringValue(ignModeList, currentIgnitionMode) }, { Ign: bitStringValue(ignModeList, currentIgnitionMode) }, white, black, white, black
indicatorTemplate = {isShifting}, "In Gear", "Shifting", white, black, green, black@@if_ts_show_tcu
; looks like TS would append four system indicators below: Data Logging, ???, Not Connected, Protocol Error
[KeyActions]