VSA: Discard timestamp top bit

This commit is contained in:
Max Brombach
2025-09-24 14:13:29 -04:00
committed by Kyle Schwarz
parent 58b22da09b
commit f22d666f94
28 changed files with 33 additions and 33 deletions
+2 -2
View File
@@ -76,8 +76,8 @@ void VSA0DFirst::reorderPayload(std::vector<uint8_t>& secondPayload)
bool VSA0DFirst::filter(const std::shared_ptr<VSAMessageReadFilter> filter)
{
if((filter->captureBitfield != captureBitfield && filter->captureBitfield != UINT16_MAX) ||
getICSTimestampFromTimepoint(filter->readRange.first) > timestamp ||
getICSTimestampFromTimepoint(filter->readRange.second) < timestamp) {
getICSTimestampFromTimepoint(filter->readRange.first) > getTimestamp() ||
getICSTimestampFromTimepoint(filter->readRange.second) < getTimestamp()) {
return false;
}
return true;