Skip to content

Commit

Permalink
Fix timestamp in lawicel connection code
Browse files Browse the repository at this point in the history
  • Loading branch information
collin80 committed Jul 10, 2024
1 parent 0447ec1 commit f769dd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connections/lawicel_serial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ void LAWICELSerial::readSerialData()
{
qDebug() << "Got CR!";

buildFrame.setTimeStamp(QDateTime::currentMSecsSinceEpoch() * 1000l);
buildFrame.setTimeStamp(QCanBusFrame::TimeStamp(0, QDateTime::currentMSecsSinceEpoch() * 1000l));
switch (mBuildLine[0].toLatin1())
{
case 't': //standard frame
Expand Down

0 comments on commit f769dd1

Please sign in to comment.