summaryrefslogtreecommitdiff
path: root/nuttx/sched
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2013-06-02 17:57:17 +0200
committerLorenz Meier <lm@inf.ethz.ch>2013-06-02 17:57:17 +0200
commit6e4d238d61f30c508a5e8c282e9a409a659c0957 (patch)
treeb48ed99880ee2d6497ebcb14d3a429a10c4760ef /nuttx/sched
parent51dfcaa2147d375b9a66c50fd8db8c6f5e6133e4 (diff)
downloadpx4-nuttx-6e4d238d61f30c508a5e8c282e9a409a659c0957.tar.gz
px4-nuttx-6e4d238d61f30c508a5e8c282e9a409a659c0957.tar.bz2
px4-nuttx-6e4d238d61f30c508a5e8c282e9a409a659c0957.zip
Commented out spurious assert
Diffstat (limited to 'nuttx/sched')
-rw-r--r--nuttx/sched/sem_holder.c3
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);
}