diff options
Diffstat (limited to 'os/kernel')
-rw-r--r-- | os/kernel/include/events.h | 2 | ||||
-rw-r--r-- | os/kernel/src/chevents.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/os/kernel/include/events.h b/os/kernel/include/events.h index c434eb7ce..e81d3ee3b 100644 --- a/os/kernel/include/events.h +++ b/os/kernel/include/events.h @@ -129,7 +129,7 @@ extern "C" { void chEvtSignalI(Thread *tp, eventmask_t mask);
void chEvtBroadcast(EventSource *esp);
void chEvtBroadcastI(EventSource *esp);
- void chEvtDispatch(const evhandler_t handlers[], eventmask_t mask);
+ void chEvtDispatch(const evhandler_t *handlers, eventmask_t mask);
#if CH_OPTIMIZE_SPEED || !CH_USE_EVENTS_TIMEOUT
eventmask_t chEvtWaitOne(eventmask_t mask);
eventmask_t chEvtWaitAny(eventmask_t mask);
diff --git a/os/kernel/src/chevents.c b/os/kernel/src/chevents.c index e3c0b07ba..bed0def68 100644 --- a/os/kernel/src/chevents.c +++ b/os/kernel/src/chevents.c @@ -184,7 +184,7 @@ void chEvtBroadcastI(EventSource *esp) { * @param[in] handlers an array of @p evhandler_t. The array must have size
* equal to the number of bits in eventmask_t.
*/
-void chEvtDispatch(const evhandler_t handlers[], eventmask_t mask) {
+void chEvtDispatch(const evhandler_t *handlers, eventmask_t mask) {
eventid_t eid;
chDbgCheck(handlers != NULL, "chEvtDispatch");
|