aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/include/chmtx.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/kernel/include/chmtx.h')
-rw-r--r--os/kernel/include/chmtx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/kernel/include/chmtx.h b/os/kernel/include/chmtx.h
index d6f2ddf3d..a4ff5e49f 100644
--- a/os/kernel/include/chmtx.h
+++ b/os/kernel/include/chmtx.h
@@ -29,7 +29,7 @@
#ifndef _CHMTX_H_
#define _CHMTX_H_
-#if CH_USE_MUTEXES || defined(__DOXYGEN__)
+#if CH_CFG_USE_MUTEXES || defined(__DOXYGEN__)
/*===========================================================================*/
/* Module constants. */
@@ -119,7 +119,7 @@ static inline bool chMtxQueueNotEmptyS(mutex_t *mp) {
return queue_notempty(&mp->m_queue);
}
-#endif /* CH_USE_MUTEXES */
+#endif /* CH_CFG_USE_MUTEXES */
#endif /* _CHMTX_H_ */