safety helpers: hide debug print for now

This commit is contained in:
Shane Smiskol 2023-12-09 02:28:10 -08:00
parent cf108cd4cc
commit a5753a2077
1 changed files with 1 additions and 1 deletions

View File

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