aboutsummaryrefslogtreecommitdiffstats
path: root/src/chevents.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-11-17 18:35:05 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-11-17 18:35:05 +0000
commit99ed21358ab4490ada34a4bb26ab2604c89db4b9 (patch)
tree3254acfec2438f6437173c96db210fb1717d2e47 /src/chevents.c
parent6c4445c1441d3652e7e82c38d6cfed0e2362d08b (diff)
downloadChibiOS-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/chevents.c')
-rw-r--r--src/chevents.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/chevents.c b/src/chevents.c
index f67bea11a..bcf02504d 100644
--- a/src/chevents.c
+++ b/src/chevents.c
@@ -160,7 +160,7 @@ 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)
/**
* A pending event among those specified in \p ewmask is selected, cleared and
* its mask returned.
@@ -276,9 +276,9 @@ eventid_t chEvtWait(eventmask_t ewmask,
return i;
}
-#endif /* defined(CH_OPTIMIZE_SPEED) || !defined(CH_USE_EVENT_TIMEOUT) */
+#endif /* defined(CH_OPTIMIZE_SPEED) || !defined(CH_USE_EVENTS_TIMEOUT) */
-#ifdef CH_USE_EVENT_TIMEOUT
+#ifdef CH_USE_EVENTS_TIMEOUT
/**
* Waits for a single event.
* A pending event among those specified in \p ewmask is selected, cleared and
@@ -409,7 +409,7 @@ eventid_t chEvtWaitTimeout(eventmask_t ewmask,
return i;
}
-#endif /* CH_USE_EVENT_TIMEOUT */
+#endif /* CH_USE_EVENTS_TIMEOUT */
#endif /* CH_USE_EVENTS */