git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12275 110e8d01-0319-4d1e-a829-52ad28d1bb01
This commit is contained in:
Giovanni Di Sirio 2018-09-19 12:55:13 +00:00
parent 736b8dfa59
commit 1f9c410180
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ eventflags_t chEvtGetAndClearFlags(event_listener_t *elp) {
elp->flags = (eventflags_t)0;
chSysUnlock();
return flags;
return flags & elp->wflags;
}
/**