diff --git a/board/safety/safety_tesla.h b/board/safety/safety_tesla.h index 882a509f56105e..4a1c6e71e48a4d 100644 --- a/board/safety/safety_tesla.h +++ b/board/safety/safety_tesla.h @@ -219,12 +219,6 @@ static int tesla_tx_hook(CAN_FIFOMailBox_TypeDef *to_send) return true; } -static int tesla_tx_lin_hook(int lin_num, uint8_t *data, int len) -{ - // LIN is not used on the Tesla - return false; -} - static void tesla_init(int16_t param) { controls_allowed = 0; @@ -284,7 +278,7 @@ const safety_hooks tesla_hooks = { .init = tesla_init, .rx = tesla_rx_hook, .tx = tesla_tx_hook, - .tx_lin = tesla_tx_lin_hook, + .tx_lin = nooutput_tx_lin_hook, .ignition = tesla_ign_hook, .fwd = tesla_fwd_hook, .relay = nooutput_relay_hook,