From 1cbf7b6019cc8e06e40fba55ad2d7c81fdd1bb3c Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 3 Jan 2016 14:33:37 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8680 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/LLD/CANv1/can_lld.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'os/hal/ports') diff --git a/os/hal/ports/STM32/LLD/CANv1/can_lld.c b/os/hal/ports/STM32/LLD/CANv1/can_lld.c index 345d209f1..1c2895acf 100644 --- a/os/hal/ports/STM32/LLD/CANv1/can_lld.c +++ b/os/hal/ports/STM32/LLD/CANv1/can_lld.c @@ -278,6 +278,8 @@ static void can_lld_sce_handler(CANDriver *canp) { flags = (eventflags_t)(esr & 7); if ((esr & CAN_ESR_LEC) > 0) flags |= CAN_FRAMING_ERROR; +#else + flags = 0; #endif osalSysLockFromISR(); -- cgit v1.2.3