diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-06-02 17:57:17 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-06-02 17:57:17 +0200 |
commit | 6e4d238d61f30c508a5e8c282e9a409a659c0957 (patch) | |
tree | b48ed99880ee2d6497ebcb14d3a429a10c4760ef /nuttx/sched/sem_holder.c | |
parent | 51dfcaa2147d375b9a66c50fd8db8c6f5e6133e4 (diff) | |
download | px4-nuttx-6e4d238d61f30c508a5e8c282e9a409a659c0957.tar.gz px4-nuttx-6e4d238d61f30c508a5e8c282e9a409a659c0957.tar.bz2 px4-nuttx-6e4d238d61f30c508a5e8c282e9a409a659c0957.zip |
Commented out spurious assert
Diffstat (limited to 'nuttx/sched/sem_holder.c')
-rw-r--r-- | nuttx/sched/sem_holder.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/sched/sem_holder.c b/nuttx/sched/sem_holder.c index ab59ec8c8..de648e566 100644 --- a/nuttx/sched/sem_holder.c +++ b/nuttx/sched/sem_holder.c @@ -452,7 +452,8 @@ static int sem_restoreholderprio(FAR struct semholder_s *pholder, FAR sem_t *sem * priorities back to the base priority. */ - DEBUGASSERT(htcb->sched_priority == stcb->sched_priority && htcb->npend_reprio == 0); + /* XXX Debug assertion needs inspection */ + //DEBUGASSERT(htcb->sched_priority == stcb->sched_priority && htcb->npend_reprio == 0); sched_reprioritize(htcb, htcb->base_priority); } |