diff --git a/can/parser.cc b/can/parser.cc index 30d0729b82..1fa706bce3 100644 --- a/can/parser.cc +++ b/can/parser.cc @@ -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;