Fixed bug 3100925.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2325 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
24b7b8c7f8
commit
e1f07aa7c6
|
@ -284,14 +284,14 @@ namespace chibios_rt {
|
||||||
chEvtBroadcast(&event);
|
chEvtBroadcast(&event);
|
||||||
}
|
}
|
||||||
|
|
||||||
eventmask_t Event::Clear(eventmask_t mask) {
|
eventmask_t Event::ClearFlags(eventmask_t mask) {
|
||||||
|
|
||||||
return chEvtClear(mask);
|
return chEvtClearFlags(mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
eventmask_t Event::Pend(eventmask_t mask) {
|
eventmask_t Event::AddFlags(eventmask_t mask) {
|
||||||
|
|
||||||
return chEvtPend(mask);
|
return chEvtAddFlags(mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Event::Dispatch(const evhandler_t handlers[], eventmask_t mask) {
|
void Event::Dispatch(const evhandler_t handlers[], eventmask_t mask) {
|
||||||
|
|
|
@ -516,7 +516,7 @@ namespace chibios_rt {
|
||||||
* @param[in] mask the events to be cleared
|
* @param[in] mask the events to be cleared
|
||||||
* @return The pending events that were cleared.
|
* @return The pending events that were cleared.
|
||||||
*/
|
*/
|
||||||
static eventmask_t Clear(eventmask_t mask);
|
static eventmask_t ClearFlags(eventmask_t mask);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Makes an events mask pending in the current thread.
|
* @brief Makes an events mask pending in the current thread.
|
||||||
|
@ -525,7 +525,7 @@ namespace chibios_rt {
|
||||||
* @param[in] mask the events to be pended
|
* @param[in] mask the events to be pended
|
||||||
* @return The current pending events mask.
|
* @return The current pending events mask.
|
||||||
*/
|
*/
|
||||||
static eventmask_t Pend(eventmask_t mask);
|
static eventmask_t AddFlags(eventmask_t mask);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Invokes the event handlers associated with a mask.
|
* @brief Invokes the event handlers associated with a mask.
|
||||||
|
|
Loading…
Reference in New Issue