Overwrite mode now respects the bus number and will only overwrite frames with the same ID and bus number. Overwrite now also shows time delta instead of timestamp.

This commit is contained in:
Collin Kidder
2019-06-11 21:54:47 -04:00
parent d75edabbfe
commit 3c262693ac
2 changed files with 38 additions and 9 deletions
+2
View File
@@ -16,6 +16,7 @@ public:
uint32_t len;
unsigned char data[8];
uint64_t timestamp;
uint64_t timedelta;
uint32_t frameCount; //used in overwrite mode
friend bool operator<(const CANFrame& l, const CANFrame& r)
@@ -32,6 +33,7 @@ public:
isReceived = true;
len = 0;
timestamp = 0;
timedelta = 0;
frameCount = 1;
}
};