log missing addrs that are validated (#343)

This commit is contained in:
Greg Hogan 2021-04-25 02:45:27 -07:00 committed by GitHub
parent 0a1038a89e
commit 5f4dc594bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}