diff --git a/firmware/mcal/stm32f767/periph/can.h b/firmware/mcal/stm32f767/periph/can.h index dcd5cd083..36950a869 100644 --- a/firmware/mcal/stm32f767/periph/can.h +++ b/firmware/mcal/stm32f767/periph/can.h @@ -21,9 +21,9 @@ class CanBase : public shared::periph::CanBase { CanBase(CAN_HandleTypeDef* hcan) : hcan_(hcan){}; void Setup() { + HAL_CAN_ActivateNotification(hcan_, kCanRxActiveInterruptFifo0); ConfigFilters(); HAL_CAN_Start(hcan_); - HAL_CAN_ActivateNotification(hcan_, kCanRxActiveInterruptFifo0); } void Send(const shared::can::RawCanMsg& can_tx_msg) override {