mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 21:36:28 +08:00
drivers: 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
e24621d545
commit
e999708b31
@@ -760,7 +760,7 @@ static int foc_notifier(FAR struct foc_dev_s *dev,
|
||||
{
|
||||
/* This is a critical fault */
|
||||
|
||||
DEBUGASSERT(0);
|
||||
DEBUGPANIC();
|
||||
|
||||
/* Set timeout fault if not in debug mode */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user