Addition of "System Time" mode where frames are timestamped by

absolute time from the PC clock.
This commit is contained in:
Collin Kidder
2017-07-09 16:54:26 -04:00
parent 8e6883f8f0
commit 8830950f85
13 changed files with 137 additions and 28 deletions
+4
View File
@@ -400,6 +400,10 @@ void GVRetSerial::procRXChar(unsigned char c)
buildFrame.timestamp |= (uint)c << 24;
buildFrame.timestamp += timeBasis;
if (useSystemTime)
{
buildFrame.timestamp = QDateTime::currentMSecsSinceEpoch() * 1000l;
}
break;
case 4:
buildFrame.ID = c;