diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-09-14 13:42:15 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-09-14 13:42:15 +0000 |
commit | 1900d5219352d8a0d29672a4bf58956fe5e65620 (patch) | |
tree | 0bb50ce7b1395fc9d9c72171c0c3ad2e5935f01c /nuttx/sched/sem_waitirq.c | |
parent | 4395c30614b96e828e0c64e8164b36d906b444c7 (diff) | |
download | px4-nuttx-1900d5219352d8a0d29672a4bf58956fe5e65620.tar.gz px4-nuttx-1900d5219352d8a0d29672a4bf58956fe5e65620.tar.bz2 px4-nuttx-1900d5219352d8a0d29672a4bf58956fe5e65620.zip |
Fix priority inheritance bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2949 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/sem_waitirq.c')
-rw-r--r-- | nuttx/sched/sem_waitirq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/sched/sem_waitirq.c b/nuttx/sched/sem_waitirq.c index c37bc57db..317a37a06 100644 --- a/nuttx/sched/sem_waitirq.c +++ b/nuttx/sched/sem_waitirq.c @@ -114,7 +114,7 @@ void sem_waitirq(FAR _TCB *wtcb) * to this semaphore. */ - sem_canceled(sem); + sem_canceled(wtcb, sem); /* And increment the count on the semaphore. This releases the * count that was taken by sem_post(). This count decremented |