Hotfix: fix controls mismatch on Honda Ridgeline (#23090)

pull/23199/head
Adeeb Shihadeh 2021-12-01 17:24:09 -08:00 committed by GitHub
parent 1e0ef417c3
commit ce9e739428
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -329,11 +329,15 @@ static const addr_checks* honda_nidec_init(int16_t param) {
honda_alt_brake_msg = false;
honda_bosch_long = false;
honda_rx_checks = (addr_checks){honda_nidec_addr_checks, HONDA_NIDEC_ADDR_CHECKS_LEN};
/*
if (GET_FLAG(param, HONDA_PARAM_NIDEC_ALT)) {
honda_rx_checks = (addr_checks){honda_nidec_alt_addr_checks, HONDA_NIDEC_ALT_ADDR_CHECKS_LEN};
} else {
honda_rx_checks = (addr_checks){honda_nidec_addr_checks, HONDA_NIDEC_ADDR_CHECKS_LEN};
}
*/
return &honda_rx_checks;
}