boards: 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 17:47:26 -03:00
committed by Xiang Xiao
parent 939b990a9c
commit 83442aa70c
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -337,7 +337,7 @@ static void board_foc_trace(struct foc_dev_s *dev, int type, bool state)
default:
{
mtrerr("board_foc_trace type=%d not supported!\n", type);
DEBUGASSERT(0);
DEBUGPANIC();
}
}
}
+1 -1
View File
@@ -327,7 +327,7 @@ static void board_foc_trace(struct foc_dev_s *dev, int type, bool state)
default:
{
mtrerr("board_foc_trace type=%d not supported!\n", type);
DEBUGASSERT(0);
DEBUGPANIC();
}
}
}
+1 -1
View File
@@ -335,7 +335,7 @@ static void board_foc_trace(struct foc_dev_s *dev, int type, bool state)
default:
{
mtrerr("board_foc_trace type=%d not supported!\n", type);
DEBUGASSERT(0);
DEBUGPANIC();
}
}
}