aboutsummaryrefslogtreecommitdiffstats
path: root/src/chmtx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chmtx.c')
-rw-r--r--src/chmtx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chmtx.c b/src/chmtx.c
index 3a110f595..e441a5729 100644
--- a/src/chmtx.c
+++ b/src/chmtx.c
@@ -26,7 +26,7 @@
#include <ch.h>
-#ifdef CH_USE_MUTEXES
+#if CH_USE_MUTEXES
/**
* @brief Initializes s @p Mutex structure.
@@ -88,7 +88,7 @@ void chMtxLockS(Mutex *mp) {
/* boost the owner of this mutex if needed */
tp = tp->p_wtmtxp->m_owner;
continue;
-#ifdef CH_USE_MESSAGES_PRIORITY
+#if CH_USE_MESSAGES_PRIORITY
case PRSNDMSG:
/* requeue tp with its new priority on (?) */
prio_insert(dequeue(tp), &tp->p_wtthdp->p_msgqueue);