Fixed bug 3604657.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5222 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
gdisirio 2013-02-17 13:52:17 +00:00
parent 086b5de61e
commit 51deb0fa26
2 changed files with 3 additions and 1 deletions

View File

@ -217,7 +217,7 @@ static void can_lld_sce_handler(CANDriver *canp) {
chSysLockFromIsr(); chSysLockFromIsr();
/* The content of the ESR register is copied unchanged in the upper /* The content of the ESR register is copied unchanged in the upper
half word of the listener flags mask.*/ half word of the listener flags mask.*/
chEvtBroadcastFlagsI(&canp->error_event, flags | (flagsmask_t)(esr < 16)); chEvtBroadcastFlagsI(&canp->error_event, flags | (flagsmask_t)(esr << 16));
chSysUnlockFromIsr(); chSysUnlockFromIsr();
} }
} }

View File

@ -85,6 +85,8 @@
***************************************************************************** *****************************************************************************
*** 2.5.2 *** *** 2.5.2 ***
- FIX: Fixed typo in platforms/STM32/can_lld.c (bug 3604657)(backported
to 2.4.4).
- FIX: Added board files and demo for "WaveShare Open STM32F4 207I-C / 407I-C". - FIX: Added board files and demo for "WaveShare Open STM32F4 207I-C / 407I-C".
Added ULPI support to the STM32 USB (OTG-HS) driver. Added ULPI support to the STM32 USB (OTG-HS) driver.
Contributed by Dave Camarillo (bug 3603362). Contributed by Dave Camarillo (bug 3603362).