Fix an inverted situation in PCAN file loading that caused extended
frames to not load properly from version 1.1 files
This commit is contained in:
+2
-2
@@ -555,9 +555,9 @@ bool FrameFileIO::loadPCANFile(QString filename, QVector<CANFrame>* frames)
|
|||||||
thisFrame.isReceived = true;
|
thisFrame.isReceived = true;
|
||||||
thisFrame.bus = 0;
|
thisFrame.bus = 0;
|
||||||
if (line.at(28) == ' ') {
|
if (line.at(28) == ' ') {
|
||||||
thisFrame.extended = true;
|
|
||||||
} else {
|
|
||||||
thisFrame.extended = false;
|
thisFrame.extended = false;
|
||||||
|
} else {
|
||||||
|
thisFrame.extended = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (line.at(41) == 'R') {
|
if (line.at(41) == 'R') {
|
||||||
|
|||||||
Reference in New Issue
Block a user