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) { diff --git a/readme.txt b/readme.txt index a9e3a6310..d1e4b089b 100644 --- a/readme.txt +++ b/readme.txt @@ -87,6 +87,7 @@ *** 2.5.2 *** - FIX: Fixed surprising non-CRLF lines in source (bug 3607380). +- FIX: Fixed STM32 CAN broadcast typo (bug 3606675). - FIX: Fixed STM32 CAN mailbox receive for second fifo (bug 3606673). - FIX: Fixed CAN_USE_SLEEP_MODE compilation problem (bug 3606616)(backported to 2.4.4)(backported to 2.2.10).