sched: Convert DEBUGASSERT(false) into more intuitive DEBUGPANIC()
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
parent
9b0e3ae9d2
commit
6f0334140f
@ -102,7 +102,7 @@ nxsem_allocholder(FAR sem_t *sem, FAR struct tcb_s *htcb)
|
|||||||
{
|
{
|
||||||
serr("ERROR: Insufficient pre-allocated holders\n");
|
serr("ERROR: Insufficient pre-allocated holders\n");
|
||||||
pholder = NULL;
|
pholder = NULL;
|
||||||
DEBUGASSERT(0);
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pholder != NULL)
|
if (pholder != NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user