aboutsummaryrefslogtreecommitdiffstats
path: root/src/chmtx.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-02-07 12:42:29 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-02-07 12:42:29 +0000
commitb08638d7c8e46b3a207705a2e55fdfe4b78cfb3e (patch)
treef9e60d830d48036b3012822a4eedb909c3c4ce25 /src/chmtx.c
parent37c2720510cf319159d19398533169711d092f6b (diff)
downloadChibiOS-b08638d7c8e46b3a207705a2e55fdfe4b78cfb3e.tar.gz
ChibiOS-b08638d7c8e46b3a207705a2e55fdfe4b78cfb3e.tar.bz2
ChibiOS-b08638d7c8e46b3a207705a2e55fdfe4b78cfb3e.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@735 35acf78f-673a-0410-8e92-d51de3d6d3f4
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);