aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/rt/src/chevents.c2
1 files changed, 1 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;