rusEFI online engine crc

This commit is contained in:
rusefi 2020-05-09 18:31:41 -04:00
parent f9c82b860d
commit c0d45f9330
2 changed files with 7 additions and 2 deletions

View File

@ -174,8 +174,9 @@ typedef struct {
// it wants to send have been sent.
float calibrationValue; // 128
TsCalMode calibrationMode; // 132
uint8_t padding[3]; // 133-135
uint8_t padding[1]; // 133
int16_t engineMakeCodeNameCrc16; // 134
// Errors
int totalTriggerErrorCounter; // 136
int orderingErrorCounter; // 140

View File

@ -305,7 +305,9 @@ enable2ndByteCanID = false
; calibation helpers
calibrationValue = scalar, F32, 128, "", 1, 0
calibrationMode = scalar, U08, 132, "", 1, 0
; 3 bytes padding1
; 1 bytes padding1
engineMakeCodeNameCrc16= scalar, U16, 134, "crc16", 1, 0
; Errors
totalTriggerErrorCounter=scalar,U32, 136,"counter", 1, 0
@ -1197,6 +1199,8 @@ gaugeCategory = Sensors - Raw
entry = debugIntField5, @@GAUGE_NAME_DEBUG_I5@@,int,"%d", { !enableLogDebugChannels }
entry = engineMakeCodeNameCrc16, "Engine CRC16",int,"%d"
entry = engineMode, "Engine Mode",int,"%d"
entry = warningCounter, @@GAUGE_NAME_WARNING_COUNTER@@,int,"%d"
entry = lastErrorCode, @@GAUGE_NAME_WARNING_LAST@@,int,"%d"