From ceae98d7624d47022084272590abefa33d6b7cdd Mon Sep 17 00:00:00 2001 From: Collin Kidder Date: Thu, 14 Feb 2019 20:15:00 -0500 Subject: [PATCH] Fix an inverted situation in PCAN file loading that caused extended frames to not load properly from version 1.1 files --- framefileio.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framefileio.cpp b/framefileio.cpp index 29b866a..dd8e2a6 100644 --- a/framefileio.cpp +++ b/framefileio.cpp @@ -555,9 +555,9 @@ bool FrameFileIO::loadPCANFile(QString filename, QVector* frames) thisFrame.isReceived = true; thisFrame.bus = 0; if (line.at(28) == ' ') { - thisFrame.extended = true; - } else { thisFrame.extended = false; + } else { + thisFrame.extended = true; } if (line.at(41) == 'R') {