Bug fixes for extended IDs in DBC files, fix one off error in a few
places (Corrects fuzzing window ID range), re-enabled overwrite mode showing all signals in a message
This commit is contained in:
+2
-2
@@ -1867,7 +1867,7 @@ bool FrameFileIO::loadNativeCSVFile(QString filename, QVector<CANFrame>* frames)
|
||||
if (lng < 0) lng = 0;
|
||||
if (lng + 5 > tokens.length()) lng = tokens.length() - 5;
|
||||
QByteArray bytes(lng, 0);
|
||||
for (int c = 0; c < 8; c++) bytes[c] = 0;
|
||||
for (int c = 0; c < lng; c++) bytes[c] = 0;
|
||||
for (int d = 0; d < lng; d++)
|
||||
bytes[d] = static_cast<char>(tokens[5 + d].toInt(nullptr, 16));
|
||||
thisFrame.setPayload(bytes);
|
||||
@@ -1882,7 +1882,7 @@ bool FrameFileIO::loadNativeCSVFile(QString filename, QVector<CANFrame>* frames)
|
||||
if (lng < 0) lng = 0;
|
||||
if (lng + 6 > tokens.length()) lng = tokens.length() - 6;
|
||||
QByteArray bytes(lng, 0);
|
||||
for (int c = 0; c < 8; c++) bytes[c] = 0;
|
||||
for (int c = 0; c < lng; c++) bytes[c] = 0;
|
||||
for (int d = 0; d < lng; d++)
|
||||
bytes[d] = static_cast<char>(tokens[6 + d].toInt(nullptr, 16));
|
||||
thisFrame.setPayload(bytes);
|
||||
|
||||
Reference in New Issue
Block a user