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
Submodule configs updated: 3ffa424853...521652bd7f
+1 -1
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 */
DEBUGASSERT(!sched_addreadytorun(tcb));
ASSERT(!sched_addreadytorun(tcb));
}
}