mirror of
https://github.com/apache/nuttx.git
synced 2026-08-09 22:45:08 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue