diff options
Diffstat (limited to 'os/hal')
-rw-r--r-- | os/hal/platforms/SPC5xx/FlexCAN_v1/can_lld.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) {
|