diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-11-17 18:35:05 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-11-17 18:35:05 +0000 |
commit | 99ed21358ab4490ada34a4bb26ab2604c89db4b9 (patch) | |
tree | 3254acfec2438f6437173c96db210fb1717d2e47 /src/include | |
parent | 6c4445c1441d3652e7e82c38d6cfed0e2362d08b (diff) | |
download | ChibiOS-99ed21358ab4490ada34a4bb26ab2604c89db4b9.tar.gz ChibiOS-99ed21358ab4490ada34a4bb26ab2604c89db4b9.tar.bz2 ChibiOS-99ed21358ab4490ada34a4bb26ab2604c89db4b9.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@515 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/events.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/events.h b/src/include/events.h index 2f3eda366..c851a2c82 100644 --- a/src/include/events.h +++ b/src/include/events.h @@ -90,14 +90,14 @@ extern "C" { void chEvtBroadcast(EventSource *esp);
void chEvtBroadcastI(EventSource *esp);
void chEvtDispatch(const evhandler_t handlers[], eventmask_t mask);
-#if defined(CH_OPTIMIZE_SPEED) || !defined(CH_USE_EVENT_TIMEOUT)
+#if defined(CH_OPTIMIZE_SPEED) || !defined(CH_USE_EVENTS_TIMEOUT)
eventmask_t chEvtWaitOne(eventmask_t ewmask);
eventmask_t chEvtWaitAny(eventmask_t ewmask);
eventmask_t chEvtWaitAll(eventmask_t ewmask);
eventid_t chEvtWait(eventmask_t ewmask,
const evhandler_t handlers[]);
#endif
-#ifdef CH_USE_EVENT_TIMEOUT
+#ifdef CH_USE_EVENTS_TIMEOUT
eventmask_t chEvtWaitOneTimeout(eventmask_t ewmask, systime_t time);
eventmask_t chEvtWaitAnyTimeout(eventmask_t ewmask, systime_t time);
eventmask_t chEvtWaitAllTimeout(eventmask_t ewmask, systime_t time);
@@ -122,7 +122,7 @@ extern "C" { */
#define chEvtRegister(esp, elp, eid) chEvtRegisterMask(esp, elp, EVENT_MASK(eid))
-#if !defined(CH_OPTIMIZE_SPEED) && defined(CH_USE_EVENT_TIMEOUT)
+#if !defined(CH_OPTIMIZE_SPEED) && defined(CH_USE_EVENTS_TIMEOUT)
#define chEvtWaitOne(ewmask) chEvtWaitOneTimeout(ewmask, TIME_INFINITE)
#define chEvtWaitAny(ewmask) chEvtWaitAnyTimeout(ewmask, TIME_INFINITE)
#define chEvtWaitAll(ewmask) chEvtWaitAllTimeout(ewmask, TIME_INFINITE)
|