From 15ee17c8740a378cffcae681421b9e28fcde3d4c Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 6 Sep 2008 08:56:34 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@426 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/chmtx.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/chmtx.c') diff --git a/src/chmtx.c b/src/chmtx.c index 68e8d671b..7ab8ae613 100644 --- a/src/chmtx.c +++ b/src/chmtx.c @@ -83,9 +83,8 @@ void chMtxLockS(Mutex *mp) { continue; #ifdef CH_USE_MESSAGES_PRIORITY case PRSNDMSG: - if (tp->p_flags & P_MSGBYPRIO) - /* requeue tp with its new priority on (?) */ - prio_insert(dequeue(tp), &tp->p_wtthdp->p_msgqueue); + /* requeue tp with its new priority on (?) */ + prio_insert(dequeue(tp), &tp->p_wtthdp->p_msgqueue); break; #endif /* thread tp is ready? */ -- cgit v1.2.3