mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
sched: Convert DEBUGASSERT(false) into more intuitive DEBUGPANIC()
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
committed by
Xiang Xiao
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");
|
||||
pholder = NULL;
|
||||
DEBUGASSERT(0);
|
||||
DEBUGPANIC();
|
||||
}
|
||||
|
||||
if (pholder != NULL)
|
||||
|
||||
Reference in New Issue
Block a user