From b08638d7c8e46b3a207705a2e55fdfe4b78cfb3e Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 7 Feb 2009 12:42:29 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@735 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/chmtx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/chmtx.c') 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 -#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); -- cgit v1.2.3