mirror of https://github.com/rusefi/opendbc.git
log missing addrs that are validated (#343)
This commit is contained in:
parent
0a1038a89e
commit
5f4dc594bd
|
@ -272,6 +272,8 @@ void CANParser::UpdateValid(uint64_t sec) {
|
||||||
if (state.check_threshold > 0 && (sec - state.seen) > state.check_threshold) {
|
if (state.check_threshold > 0 && (sec - state.seen) > state.check_threshold) {
|
||||||
if (state.seen > 0) {
|
if (state.seen > 0) {
|
||||||
DEBUG("0x%X TIMEOUT\n", state.address);
|
DEBUG("0x%X TIMEOUT\n", state.address);
|
||||||
|
} else {
|
||||||
|
DEBUG("0x%X MISSING\n", state.address);
|
||||||
}
|
}
|
||||||
can_valid = false;
|
can_valid = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue