Skip to content

Commit

Permalink
parser: declutter nanos usage (commaai#1067)
Browse files Browse the repository at this point in the history
thought there'd be more
  • Loading branch information
sshane authored and martinl committed Aug 29, 2024
1 parent 6f427b0 commit 317c8ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion can/parser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 317c8ff

Please sign in to comment.