diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2021-02-09 18:37:44 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2021-02-09 18:51:03 -0500 |
commit | 8666a724db6785108e4fc997830e3c69219d4a46 (patch) | |
tree | b982dc5f2799b9fb11571e3223d5b7b1132729d7 /src/stm32/can.c | |
parent | 5c4cf5455720ee3f0a0c69174d08f7ef2d3f4e83 (diff) | |
download | kutter-8666a724db6785108e4fc997830e3c69219d4a46.tar.gz kutter-8666a724db6785108e4fc997830e3c69219d4a46.tar.xz kutter-8666a724db6785108e4fc997830e3c69219d4a46.zip |
canbus: Call can_notify_rx() at startup so low-level code does not need to
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/stm32/can.c')
-rw-r--r-- | src/stm32/can.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/stm32/can.c b/src/stm32/can.c index cb5f442b..143766c7 100644 --- a/src/stm32/can.c +++ b/src/stm32/can.c @@ -290,9 +290,6 @@ can_init(void) canbus_set_filter(CANBUS_ID_SET); /*##-3- Configure Interrupts #################################*/ - - SOC_CAN->IER = CAN_IER_FMPIE0; // RX mailbox IRQ - armcm_enable_irq(CAN_IRQHandler, CAN_RX0_IRQn, 0); if (CAN_RX0_IRQn != CAN_RX1_IRQn) armcm_enable_irq(CAN_IRQHandler, CAN_RX1_IRQn, 0); |