aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/include/chmsg.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/kernel/include/chmsg.h')
-rw-r--r--os/kernel/include/chmsg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/kernel/include/chmsg.h b/os/kernel/include/chmsg.h
index 4461b30dd..ff07edfb3 100644
--- a/os/kernel/include/chmsg.h
+++ b/os/kernel/include/chmsg.h
@@ -29,7 +29,7 @@
#ifndef _CHMSG_H_
#define _CHMSG_H_
-#if CH_USE_MESSAGES || defined(__DOXYGEN__)
+#if CH_CFG_USE_MESSAGES || defined(__DOXYGEN__)
/*===========================================================================*/
/* Module constants. */
@@ -113,7 +113,7 @@ static inline void chMsgReleaseS(thread_t *tp, msg_t msg) {
chSchWakeupS(tp, msg);
}
-#endif /* CH_USE_MESSAGES */
+#endif /* CH_CFG_USE_MESSAGES */
#endif /* _CHMSG_H_ */