aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/rt/src/chevents.c2
-rw-r--r--readme.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/os/rt/src/chevents.c b/os/rt/src/chevents.c
index e5182b156..d86847c0e 100644
--- a/os/rt/src/chevents.c
+++ b/os/rt/src/chevents.c
@@ -236,7 +236,7 @@ void chEvtBroadcastFlagsI(event_source_t *esp, eventflags_t flags) {
/* When flags == 0 the thread will always be signaled because the
source does not emit any flag.*/
if ((flags == (eventflags_t)0) ||
- ((elp->flags & elp->wflags) != (eventflags_t)0)) {
+ ((flags & elp->wflags) != (eventflags_t)0)) {
chEvtSignalI(elp->listener, elp->events);
}
elp = elp->next;
diff --git a/readme.txt b/readme.txt
index 0403bbfcf..2efe4d127 100644
--- a/readme.txt
+++ b/readme.txt
@@ -165,6 +165,8 @@
- EX: Updated LSM303DLHC to 1.1.0 (backported to 18.2.1).
- HAL: Fixed ethernet registry error for STM32F469/479 (bug #990)
(backported to 18.2.2 and 17.6.5).
+- RT: Fixed bug in chEvtBroadcastFlagsI (bug #989)
+ (backported to 18.2.2 and 17.6.5).
- HAL: Fixed OS-Less Cortex-M HAL functionality broken (bug #987)
(backported to 18.2.2).
- HAL: Fixed broken functionality of MFS module (bug #986)