Changed text in settings window to more clearly explain what the max

frames / prealloc setting does, some other minor bug fixes and extra
comments in code.
This commit is contained in:
Collin Kidder
2023-02-13 19:17:44 -05:00
parent ba77154dc1
commit 4ecffaa76a
4 changed files with 9 additions and 3 deletions
+3
View File
@@ -2024,6 +2024,9 @@ bool FrameFileIO::loadNativeCSVFile(QString filename, QVector<CANFrame>* frames)
if (tokens[2].toUpper().contains("TRUE")) thisFrame.setExtendedFrameFormat(true);
else thisFrame.setExtendedFrameFormat(false);
//fix for faulty files that fail to set the extended flag when they should
if (thisFrame.frameId() > 0x7FF) thisFrame.setExtendedFrameFormat(true);
thisFrame.setFrameType(QCanBusFrame::DataFrame);
if (fileVersion == 1)