From 5003cb8350bbb4a7e5a5a2d82d6c2165e1821e41 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 15 Mar 2014 17:45:03 +0000 Subject: Fixed bug #463. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6770 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/SPC5xx/FlexCAN_v1/can_lld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os/hal') diff --git a/os/hal/platforms/SPC5xx/FlexCAN_v1/can_lld.c b/os/hal/platforms/SPC5xx/FlexCAN_v1/can_lld.c index eb04ffff0..625f44d19 100644 --- a/os/hal/platforms/SPC5xx/FlexCAN_v1/can_lld.c +++ b/os/hal/platforms/SPC5xx/FlexCAN_v1/can_lld.c @@ -221,7 +221,7 @@ static void can_lld_rx_handler(CANDriver *canp) { static void can_lld_err_handler(CANDriver *canp) { uint32_t esr = canp->flexcan->ESR.R; - eventflags_t flags = 0; + flagsmask_t flags = 0; /* Error event.*/ if ((esr & CAN_ESR_TWRN_INT) || (esr & CAN_ESR_RWRN_INT)) { -- cgit v1.2.3