Fixed bug #977.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12242 110e8d01-0319-4d1e-a829-52ad28d1bb01
This commit is contained in:
parent
86ca0fdb8b
commit
0060819002
|
@ -333,7 +333,7 @@ void chEvtBroadcastFlags(event_source_t *esp, eventflags_t flags) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Returns the flags associated to an @p event_listener_t.
|
* @brief Returns the unmasked flags associated to an @p event_listener_t.
|
||||||
* @details The flags are returned and the @p event_listener_t flags mask is
|
* @details The flags are returned and the @p event_listener_t flags mask is
|
||||||
* cleared.
|
* cleared.
|
||||||
*
|
*
|
||||||
|
@ -349,7 +349,7 @@ eventflags_t chEvtGetAndClearFlagsI(event_listener_t *elp) {
|
||||||
flags = elp->flags;
|
flags = elp->flags;
|
||||||
elp->flags = (eventflags_t)0;
|
elp->flags = (eventflags_t)0;
|
||||||
|
|
||||||
return flags;
|
return flags & elp->wflags;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -141,6 +141,8 @@
|
||||||
- EX: Updated LIS302DL to 1.1.0 (backported to 18.2.1).
|
- EX: Updated LIS302DL to 1.1.0 (backported to 18.2.1).
|
||||||
- EX: Updated LPS25H to 1.1.0 (backported to 18.2.1).
|
- EX: Updated LPS25H to 1.1.0 (backported to 18.2.1).
|
||||||
- EX: Updated LSM303DLHC to 1.1.0 (backported to 18.2.1).
|
- EX: Updated LSM303DLHC to 1.1.0 (backported to 18.2.1).
|
||||||
|
- RT: Fixed chEvtGetAndClearFlags(...) does not mask events (bug #977)
|
||||||
|
(backported to 18.2.2 and 17.6.5).
|
||||||
- HAL: Fixed HAL channels chnControl() macro broken (bug #976)
|
- HAL: Fixed HAL channels chnControl() macro broken (bug #976)
|
||||||
(backported to 18.2.2).
|
(backported to 18.2.2).
|
||||||
- OTH: Fixed wrong timeout handling in CMSIS OS layer (bug #975)
|
- OTH: Fixed wrong timeout handling in CMSIS OS layer (bug #975)
|
||||||
|
|
Loading…
Reference in New Issue