Fixed bug #977.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12275 110e8d01-0319-4d1e-a829-52ad28d1bb01
This commit is contained in:
parent
736b8dfa59
commit
1f9c410180
|
@ -262,7 +262,7 @@ eventflags_t chEvtGetAndClearFlags(event_listener_t *elp) {
|
|||
elp->flags = (eventflags_t)0;
|
||||
chSysUnlock();
|
||||
|
||||
return flags;
|
||||
return flags & elp->wflags;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue