From 99ed21358ab4490ada34a4bb26ab2604c89db4b9 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 17 Nov 2008 18:35:05 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@515 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/include/events.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/include') 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) -- cgit v1.2.3