sched: Recent change of ASSERT to DEBUGASSERT causes a crash when debug is diabled because there is a critical function call within the assertion

This commit is contained in:
Gregory Nutt 2016-02-23 10:27:40 -06:00
parent 35df528f69
commit d0c09771db
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 3ffa42485392801e69a4a17e1dab42b6174a9332 Subproject commit 521652bd7fcedc8c92e928fccb8c493f30456b59

View File

@ -185,7 +185,7 @@ static void sched_readytorun_setpriority(FAR struct tcb_s *tcb,
/* Put it back into the correct ready-to-run task list */ /* Put it back into the correct ready-to-run task list */
DEBUGASSERT(!sched_addreadytorun(tcb)); ASSERT(!sched_addreadytorun(tcb));
} }
} }