mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-15 09:52:04 +08:00
Hotfix: fix controls mismatch on Honda Ridgeline (#23090)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user