diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-02-24 10:41:11 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-02-24 10:41:11 +0000 |
commit | 947fd0901e98f460d7020990a47e8820595a20d1 (patch) | |
tree | bf80423502b0d09c1a7ae4e04aa7cf617fd2a5c4 | |
parent | 4d916c9d6c0d4048ec22094f251959177e2e4ba1 (diff) | |
download | ChibiOS-947fd0901e98f460d7020990a47e8820595a20d1.tar.gz ChibiOS-947fd0901e98f460d7020990a47e8820595a20d1.tar.bz2 ChibiOS-947fd0901e98f460d7020990a47e8820595a20d1.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1673 35acf78f-673a-0410-8e92-d51de3d6d3f4
-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");
|