Tweak to make loading of timestamps better for native CSV file format.

This commit is contained in:
Collin Kidder
2026-01-13 19:25:21 -05:00
parent 52f8d7941e
commit 8eee360d09
+3 -1
View File
@@ -2111,7 +2111,9 @@ bool FrameFileIO::loadNativeCSVFile(QString filename, QVector<CANFrame>* frames)
{
if (tokens[0].length() > 3)
{
thisFrame.setTimeStamp(QCanBusFrame::TimeStamp(0, tokens[0].toULongLong()));
quint64 tstamp = tokens[0].toULongLong();
if (tstamp == 0) tstamp = (quint64)(tokens[0].toLongLong());
thisFrame.setTimeStamp(QCanBusFrame::TimeStamp(0, tstamp));
}
else
{