Fix timestamp in lawicel connection code

This commit is contained in:
Collin Kidder
2024-07-09 20:18:24 -04:00
parent 1e0e30f0b0
commit ab11691901
+1 -1
View File
@@ -491,7 +491,7 @@ void LAWICELSerial::readSerialData()
{ {
qDebug() << "Got CR!"; qDebug() << "Got CR!";
buildFrame.setTimeStamp(QDateTime::currentMSecsSinceEpoch() * 1000l); buildFrame.setTimeStamp(QCanBusFrame::TimeStamp(0, QDateTime::currentMSecsSinceEpoch() * 1000l));
switch (mBuildLine[0].toLatin1()) switch (mBuildLine[0].toLatin1())
{ {
case 't': //standard frame case 't': //standard frame