aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/src/chmboxes.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/kernel/src/chmboxes.c')
-rw-r--r--os/kernel/src/chmboxes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/kernel/src/chmboxes.c b/os/kernel/src/chmboxes.c
index b1a4fb963..2a6e6fae8 100644
--- a/os/kernel/src/chmboxes.c
+++ b/os/kernel/src/chmboxes.c
@@ -45,14 +45,14 @@
* example) from the posting side and free it on the fetching side.
* Another approach is to set a "done" flag into the structure pointed
* by the message.
- * @pre In order to use the mailboxes APIs the @p CH_USE_MAILBOXES option
+ * @pre In order to use the mailboxes APIs the @p CH_CFG_USE_MAILBOXES option
* must be enabled in @p chconf.h.
* @{
*/
#include "ch.h"
-#if CH_USE_MAILBOXES || defined(__DOXYGEN__)
+#if CH_CFG_USE_MAILBOXES || defined(__DOXYGEN__)
/*===========================================================================*/
/* Module exported variables. */
@@ -393,6 +393,6 @@ msg_t chMBFetchI(mailbox_t *mbp, msg_t *msgp) {
chSemSignalI(&mbp->mb_emptysem);
return RDY_OK;
}
-#endif /* CH_USE_MAILBOXES */
+#endif /* CH_CFG_USE_MAILBOXES */
/** @} */