drivers: 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:34:54 -03:00
committed by Xiang Xiao
parent e24621d545
commit e999708b31
8 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -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 */