mirror of https://github.com/commaai/panda.git
safety helpers: hide debug print for now
This commit is contained in:
parent
cf108cd4cc
commit
a5753a2077
|
@ -12,7 +12,7 @@ bool safety_config_valid() {
|
|||
const RxCheck addr = current_safety_config.rx_checks[i];
|
||||
bool valid = addr.msg_seen && !addr.lagging && addr.valid_checksum && (addr.wrong_counters < MAX_WRONG_COUNTERS) && addr.valid_quality_flag;
|
||||
if (!valid) {
|
||||
printf("i %d seen %d lagging %d valid checksum %d wrong counters %d valid quality flag %d\n", i, addr.msg_seen, addr.lagging, addr.valid_checksum, addr.wrong_counters, addr.valid_quality_flag);
|
||||
// printf("i %d seen %d lagging %d valid checksum %d wrong counters %d valid quality flag %d\n", i, addr.msg_seen, addr.lagging, addr.valid_checksum, addr.wrong_counters, addr.valid_quality_flag);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue