Skip to content

Commit

Permalink
use mazda init
Browse files Browse the repository at this point in the history
  • Loading branch information
adeebshihadeh committed May 28, 2020
1 parent 08db086 commit 9bece64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions board/safety/safety_mazda.h
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,11 @@ static void mazda_init(int16_t param) {
UNUSED(param);
controls_allowed = false;
relay_malfunction_reset();
mazda_lkas_on = false;
mazda_lkas_allowed = false;
}

const safety_hooks mazda_hooks = {
.init = nooutput_init,
.init = mazda_init,
.rx = mazda_rx_hook,
.tx = mazda_tx_hook,
.tx_lin = nooutput_tx_lin_hook,
Expand Down

0 comments on commit 9bece64

Please sign in to comment.