Skip to content

Commit

Permalink
parser: declutter nanos usage (#1067)
Browse files Browse the repository at this point in the history
thought there'd be more
  • Loading branch information
sshane committed Jul 31, 2024
1 parent 5ab2616 commit 69ca983
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 @@ -211,7 +211,7 @@ void CANParser::UpdateCans(const CanData &can) {
}

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 69ca983

Please sign in to comment.