use mazda init

This commit is contained in:
Adeeb Shihadeh 2020-05-28 13:20:46 -07:00
parent 08db086d58
commit 9bece64e8f
1 changed files with 2 additions and 2 deletions

View File

@ -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,