aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/src/chevents.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-20 10:12:44 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-20 10:12:44 +0000
commit49d71a01abeefa000a4cd7a556052d826b096d49 (patch)
tree8c5ce964f194d9f7b17e91d912d9e6d723e4b8ae /os/kernel/src/chevents.c
parentdc7b36df31f4d9dbd9a039319df74f4b2c8eed0c (diff)
downloadChibiOS-49d71a01abeefa000a4cd7a556052d826b096d49.tar.gz
ChibiOS-49d71a01abeefa000a4cd7a556052d826b096d49.tar.bz2
ChibiOS-49d71a01abeefa000a4cd7a556052d826b096d49.zip
Renamed or added prefix to all hernel configuration options.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6010 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/src/chevents.c')
-rw-r--r--os/kernel/src/chevents.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/os/kernel/src/chevents.c b/os/kernel/src/chevents.c
index 1206b61fe..f48a3ec9a 100644
--- a/os/kernel/src/chevents.c
+++ b/os/kernel/src/chevents.c
@@ -51,7 +51,7 @@
* An unlimited number of Event Sources can exists in a system and
* each thread can be listening on an unlimited number of
* them.
- * @pre In order to use the Events APIs the @p CH_USE_EVENTS option must be
+ * @pre In order to use the Events APIs the @p CH_CFG_USE_EVENTS option must be
* enabled in @p chconf.h.
* @post Enabling events requires 1-4 (depending on the architecture)
* extra bytes in the @p thread_t structure.
@@ -60,7 +60,7 @@
#include "ch.h"
-#if CH_USE_EVENTS || defined(__DOXYGEN__)
+#if CH_CFG_USE_EVENTS || defined(__DOXYGEN__)
/*===========================================================================*/
/* Module local definitions. */
@@ -350,7 +350,7 @@ void chEvtDispatch(const evhandler_t *handlers, eventmask_t mask) {
}
}
-#if CH_OPTIMIZE_SPEED || !CH_USE_EVENTS_TIMEOUT || defined(__DOXYGEN__)
+#if CH_CFG_OPTIMIZE_SPEED || !CH_CFG_USE_EVENTS_TIMEOUT || defined(__DOXYGEN__)
/**
* @brief Waits for exactly one of the specified events.
* @details The function waits for one event among those specified in
@@ -438,9 +438,9 @@ eventmask_t chEvtWaitAll(eventmask_t mask) {
chSysUnlock();
return mask;
}
-#endif /* CH_OPTIMIZE_SPEED || !CH_USE_EVENTS_TIMEOUT */
+#endif /* CH_CFG_OPTIMIZE_SPEED || !CH_CFG_USE_EVENTS_TIMEOUT */
-#if CH_USE_EVENTS_TIMEOUT || defined(__DOXYGEN__)
+#if CH_CFG_USE_EVENTS_TIMEOUT || defined(__DOXYGEN__)
/**
* @brief Waits for exactly one of the specified events.
* @details The function waits for one event among those specified in
@@ -568,8 +568,8 @@ eventmask_t chEvtWaitAllTimeout(eventmask_t mask, systime_t time) {
chSysUnlock();
return mask;
}
-#endif /* CH_USE_EVENTS_TIMEOUT */
+#endif /* CH_CFG_USE_EVENTS_TIMEOUT */
-#endif /* CH_USE_EVENTS */
+#endif /* CH_CFG_USE_EVENTS */
/** @} */