From d4a83ebccef017c840dea11ac0082b794ba678a8 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 2 Dec 2018 06:14:45 +0000 Subject: Fixed bug #989. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12453 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- os/rt/src/chevents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os') 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; -- cgit v1.2.3