Index: sources/canbus/MessageGlobals.h =================================================================== diff -u -r80b8371f1a93481e05302cef6e474db802fda153 -rf91ee3bac4f77fc7a0fe8d122c8c49b34b6984ec --- sources/canbus/MessageGlobals.h (.../MessageGlobals.h) (revision 80b8371f1a93481e05302cef6e474db802fda153) +++ sources/canbus/MessageGlobals.h (.../MessageGlobals.h) (revision f91ee3bac4f77fc7a0fe8d122c8c49b34b6984ec) @@ -126,6 +126,7 @@ Can_Id can_id = eChlid_NONE; Sequence sequence = 0; // seq 0 is invalid int length = 0; + int actionId = 0; QByteArray head; QByteArray data; bool initialized = false; @@ -143,6 +144,7 @@ // Since the crc is part of the data and there is no message without crc // then a message would never be empty. // It is preferred to keep it as is so that the initialization is independent of data. + //qDebug() << data.length() << length; return !isEmpty() && data.length() == length; // disabled coco end }