sched: Convert DEBUGASSERT(false) into more intuitive DEBUGPANIC()

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
Gustavo Henrique Nihei 2022-07-13 17:48:41 -03:00 committed by Xiang Xiao
parent 9b0e3ae9d2
commit 6f0334140f

View File

@ -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)