diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-09-06 08:56:34 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-09-06 08:56:34 +0000 |
commit | 15ee17c8740a378cffcae681421b9e28fcde3d4c (patch) | |
tree | d5af4d9abff327bc5c05ec2b5ba56a6668aacf28 /src/chmtx.c | |
parent | 517440bad9d6d2f27689e4e3de72794d869d2c26 (diff) | |
download | ChibiOS-15ee17c8740a378cffcae681421b9e28fcde3d4c.tar.gz ChibiOS-15ee17c8740a378cffcae681421b9e28fcde3d4c.tar.bz2 ChibiOS-15ee17c8740a378cffcae681421b9e28fcde3d4c.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@426 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/chmtx.c')
-rw-r--r-- | src/chmtx.c | 5 |
1 files changed, 2 insertions, 3 deletions
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? */ |