parser: declutter nanos usage (#1067)

thought there'd be more
This commit is contained in:
Shane Smiskol 2024-07-30 23:13:17 -07:00 committed by GitHub
parent 8e9d368841
commit b84833fb37
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ void CANParser::UpdateCans(uint64_t nanos, const capnp::DynamicStruct::Reader& c
}
void CANParser::UpdateValid(uint64_t nanos) {
const bool show_missing = (last_nanos - first_nanos) > 8e9;
const bool show_missing = (nanos - first_nanos) > 8e9;
bool _valid = true;
bool _counters_valid = true;