diff --git a/inc/can.h b/inc/can.h --- a/inc/can.h +++ b/inc/can.h @@ -11,7 +11,7 @@ extern CAN_HandleTypeDef can_handle; -void can_init(void); +void can_init(uint32_t rx_id, uint32_t broadcast_id); void can_send_test(uint16_t id); bool can_send(uint32_t id, uint32_t ide, uint8_t dlc, uint8_t data[8]); void can_set_receive_mask(uint32_t mask);