aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/can_lld.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-03-09 12:15:50 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-03-09 12:15:50 +0000
commitfcadc8a00add3b61c790ad801d507069a8093094 (patch)
tree524b97c976605d9f7d571ed409a763e84a37820d /os/hal/platforms/STM32/can_lld.c
parent34f87048152152afa2f828d5b4c7623a3791690b (diff)
downloadChibiOS-fcadc8a00add3b61c790ad801d507069a8093094.tar.gz
ChibiOS-fcadc8a00add3b61c790ad801d507069a8093094.tar.bz2
ChibiOS-fcadc8a00add3b61c790ad801d507069a8093094.zip
Fixed bug 3606675.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5394 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/can_lld.c')
-rw-r--r--os/hal/platforms/STM32/can_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32/can_lld.c b/os/hal/platforms/STM32/can_lld.c
index 382322fff..8afe43355 100644
--- a/os/hal/platforms/STM32/can_lld.c
+++ b/os/hal/platforms/STM32/can_lld.c
@@ -187,7 +187,7 @@ static void can_lld_rx1_handler(CANDriver *canp) {
chSysLockFromIsr();
while (chSemGetCounterI(&canp->rxsem) < 0)
chSemSignalI(&canp->rxsem);
- chEvtBroadcastFlagsI(&canp->rxfull_event, CAN_MAILBOX_TO_MASK(1));
+ chEvtBroadcastFlagsI(&canp->rxfull_event, CAN_MAILBOX_TO_MASK(2));
chSysUnlockFromIsr();
}
if ((rf1r & CAN_RF1R_FOVR1) > 0) {