Add isShifting TS indicator
This commit is contained in:
parent
57352718a7
commit
bf93a7f7b5
|
@ -13,7 +13,6 @@ public:
|
|||
private:
|
||||
void setTccState(gear_e gear);
|
||||
void setPcState(gear_e gear);
|
||||
bool isShifting = false;
|
||||
gear_e shiftingFrom;
|
||||
};
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue