mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 00:05:59 +08:00
Refactor RX checks for Mazda safety handling
This commit is contained in:
@@ -323,7 +323,7 @@ static safety_config mazda_init(uint16_t param) {
|
||||
} else if (radar_interceptor) {
|
||||
SET_TX_MSGS(MAZDA_RI_TX_MSGS, ret);
|
||||
} else if (torque_interceptor) {
|
||||
SET_RX_CHECKS(no_mrcc ? mazda_ti_no_mrcc_rx_checks : mazda_ti_rx_checks, ret);
|
||||
SET_RX_CHECKS(mazda_ti_rx_checks, ret);
|
||||
SET_TX_MSGS(MAZDA_TI_TX_MSGS, ret);
|
||||
} else {
|
||||
SET_TX_MSGS(MAZDA_TX_MSGS, ret);
|
||||
|
||||
Reference in New Issue
Block a user