From 5f4dc594bd18cdeef10920d927197bd9260a850a Mon Sep 17 00:00:00 2001 From: Greg Hogan Date: Sun, 25 Apr 2021 02:45:27 -0700 Subject: [PATCH] log missing addrs that are validated (#343) --- can/parser.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/can/parser.cc b/can/parser.cc index 9e23311..7e64199 100644 --- a/can/parser.cc +++ b/can/parser.cc @@ -272,6 +272,8 @@ void CANParser::UpdateValid(uint64_t sec) { if (state.check_threshold > 0 && (sec - state.seen) > state.check_threshold) { if (state.seen > 0) { DEBUG("0x%X TIMEOUT\n", state.address); + } else { + DEBUG("0x%X MISSING\n", state.address); } can_valid = false; }