mm: 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 14:35:07 -03:00 committed by Xiang Xiao
parent e999708b31
commit ea0f60cc24
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ FAR void *mm_realloc(FAR struct mm_heap_s *heap, FAR void *oldmem,
{
/* There must have been an integer overflow */
DEBUGASSERT(false);
DEBUGPANIC();
return NULL;
}