inj/ign mode indicators #85

(cherry picked from commit 1cbeb8a16e07d380bd7476f7e5b724508f5bac90)
This commit is contained in:
Matthew Kennedy 2023-04-28 12:00:00 -07:00 committed by rusefillc
parent 40673ffda2
commit cc8b8b8402
1 changed files with 6 additions and 0 deletions

View File

@ -229,6 +229,9 @@ enable2ndByteCanID = false
wboFaultCodeList = bits, U08, [0:3], "OK", "silent", "Unk", "failed to heat", "overheat", "underheat", "no supply", "legacy" wboFaultCodeList = bits, U08, [0:3], "OK", "silent", "Unk", "failed to heat", "overheat", "underheat", "no supply", "legacy"
injModeList = bits, U08, [0:3], "Simultaneous", "Sequential", "Batch", "Single Point"
ignModeList = bits, U08, [0:3], "Single Coil", "Sequential", "Wasted", "Two Coils"
; ClearReason ; ClearReason
fuelIgnCutCodeList = bits, U08, [0:7], "None", "fatal error", "setting disabled", "RPM limit", "fault RPM limit", "boost cut", "oil pressure", "stop requested", "ETB problem", "launch control", "max injector duty", "flood clear", "engine sync", "kickstart", "ign off", "Lua" fuelIgnCutCodeList = bits, U08, [0:7], "None", "fatal error", "setting disabled", "RPM limit", "fault RPM limit", "boost cut", "oil pressure", "stop requested", "ETB problem", "launch control", "max injector duty", "flood clear", "engine sync", "kickstart", "ign off", "Lua"
@ -1621,6 +1624,9 @@ gaugeCategory = GPPWM Outputs
indicator = { wbo0_hasFault }, { WBO0: bitStringValue(wboFaultCodeList, faultCode)}, { WBO0: bitStringValue(wboFaultCodeList, faultCode)}, white, black, red, black indicator = { wbo0_hasFault }, { WBO0: bitStringValue(wboFaultCodeList, faultCode)}, { WBO0: bitStringValue(wboFaultCodeList, faultCode)}, white, black, red, black
indicator = {injectorHwIssue}, "inj", "INJ", white, black, red, black@@if_ts_show_inj_diag indicator = {injectorHwIssue}, "inj", "INJ", white, black, red, black@@if_ts_show_inj_diag
; 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
; looks like TS would append four system indicators below: Data Logging, ???, Not Connected, Protocol Error ; looks like TS would append four system indicators below: Data Logging, ???, Not Connected, Protocol Error
[KeyActions] [KeyActions]