recognizing extended frame IDs in Vector asc even if not preceded by 'x'
I stumbled upon a few log files with extended IDs but no x (SAE J1939)
This commit is contained in:
+1
-1
@@ -1584,7 +1584,7 @@ bool FrameFileIO::loadCanalyzerASC(QString filename, QVector<CANFrame>* frames)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
thisFrame.setFrameId(tokens[2].toUInt(nullptr, 16));
|
thisFrame.setFrameId(tokens[2].toUInt(nullptr, 16));
|
||||||
thisFrame.setExtendedFrameFormat(false);
|
thisFrame.setExtendedFrameFormat(thisFrame.frameId() > 0x7FF); //some .asc files have extended IDs without 'x'
|
||||||
}
|
}
|
||||||
|
|
||||||
int payloadLen = tokens[5].toInt();
|
int payloadLen = tokens[5].toInt();
|
||||||
|
|||||||
Reference in New Issue
Block a user