tuneCrc16 - we use it to match logs to tunes
This commit is contained in:
parent
590cf84be1
commit
747ec8cf4a
|
@ -216,7 +216,8 @@ typedef struct {
|
||||||
scaled_voltage rawIat; // 236
|
scaled_voltage rawIat; // 236
|
||||||
scaled_voltage rawOilPressure; // 238
|
scaled_voltage rawOilPressure; // 238
|
||||||
|
|
||||||
uint8_t unusedAtTheEnd[4]; // we have some unused bytes to allow compatible TS changes
|
int16_t tuneCrc16;
|
||||||
|
uint8_t unusedAtTheEnd[2]; // we have some unused bytes to allow compatible TS changes
|
||||||
|
|
||||||
// Temporary - will remove soon
|
// Temporary - will remove soon
|
||||||
TsDebugChannels* getDebugChannels() {
|
TsDebugChannels* getDebugChannels() {
|
||||||
|
|
|
@ -359,6 +359,9 @@ enable2ndByteCanID = false
|
||||||
rawIat = scalar, U16, 236, "V",{1/@@PACK_MULT_VOLTAGE@@}, 0.0
|
rawIat = scalar, U16, 236, "V",{1/@@PACK_MULT_VOLTAGE@@}, 0.0
|
||||||
rawOilPressure = scalar, U16, 238, "V",{1/@@PACK_MULT_VOLTAGE@@}, 0.0
|
rawOilPressure = scalar, U16, 238, "V",{1/@@PACK_MULT_VOLTAGE@@}, 0.0
|
||||||
|
|
||||||
|
; we use this to match logs to tunes
|
||||||
|
tuneCrc16= scalar, U16, 240, "crc16", 1, 0
|
||||||
|
|
||||||
;
|
;
|
||||||
; see TunerStudioOutputChannels struct
|
; see TunerStudioOutputChannels struct
|
||||||
;
|
;
|
||||||
|
@ -1207,6 +1210,7 @@ gaugeCategory = Sensors - Raw
|
||||||
|
|
||||||
|
|
||||||
entry = engineMakeCodeNameCrc16, "Engine CRC16",int,"%d"
|
entry = engineMakeCodeNameCrc16, "Engine CRC16",int,"%d"
|
||||||
|
entry = tuneCrc16, "Tune CRC16",int,"%d"
|
||||||
|
|
||||||
entry = engineMode, "Engine Mode",int,"%d"
|
entry = engineMode, "Engine Mode",int,"%d"
|
||||||
entry = warningCounter, @@GAUGE_NAME_WARNING_COUNTER@@,int,"%d"
|
entry = warningCounter, @@GAUGE_NAME_WARNING_COUNTER@@,int,"%d"
|
||||||
|
|
Loading…
Reference in New Issue