From 952f862dad7b3105ed6ad37f4836effe71938b91 Mon Sep 17 00:00:00 2001 From: px4dev Date: Tue, 28 Aug 2012 21:13:40 -0700 Subject: [PATCH] Disable a possibly-bogus assertion that is bringing us a lot of grief right now. --- nuttx/sched/sem_holder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuttx/sched/sem_holder.c b/nuttx/sched/sem_holder.c index abe7e9e280..704ebd1946 100644 --- a/nuttx/sched/sem_holder.c +++ b/nuttx/sched/sem_holder.c @@ -450,7 +450,7 @@ 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); + //DEBUGASSERT(htcb->sched_priority == stcb->sched_priority && htcb->npend_reprio == 0); sched_reprioritize(htcb, htcb->base_priority); }