From d3a1c84f273afc1d1a0e43ad001c20331ea131a8 Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Tue, 7 Jul 2015 18:56:24 +0300 Subject: [PATCH] STM32 SCE IRQ fix --- libuavcan_drivers/stm32/driver/src/uc_stm32_can.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libuavcan_drivers/stm32/driver/src/uc_stm32_can.cpp b/libuavcan_drivers/stm32/driver/src/uc_stm32_can.cpp index 059dc85c1c..8bb7784db8 100644 --- a/libuavcan_drivers/stm32/driver/src/uc_stm32_can.cpp +++ b/libuavcan_drivers/stm32/driver/src/uc_stm32_can.cpp @@ -572,6 +572,8 @@ void CanIface::handleRxInterrupt(uavcan::uint8_t fifo_index, uavcan::uint64_t ut void CanIface::handleStatusChangeInterrupt() { + can_->MSR = bxcan::MSR_ERRI; // Clear error + /* * General error counter */