Skip to content

Commit

Permalink
fix mazda init
Browse files Browse the repository at this point in the history
  • Loading branch information
MoreTore committed Nov 19, 2023
1 parent ecdeb00 commit acf7920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion board/safety/safety_mazda.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,9 @@ static int mazda_fwd_hook(int bus, int addr) {
}

static const addr_checks* mazda_init(uint16_t param) {
return &mazda_rx_checks;
radar_intercept = GET_FLAG(param, MAZDA_RADAR_INTERCEPT_MODE);
use_crz_events = GET_FLAG(param, MAZDA_RI_USE_CRZ_EVENTS);
return &mazda_rx_checks;
}

const safety_hooks mazda_hooks = {
Expand Down

0 comments on commit acf7920

Please sign in to comment.