arch: 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:12 -03:00
committed by Xiang Xiao
parent 9695659620
commit e24621d545
62 changed files with 136 additions and 136 deletions
+3 -3
View File
@@ -189,7 +189,7 @@ void up_timer_initialize(void)
if (ret < 0)
{
tmrerr("ERROR: bm3803_oneshot_initialize failed\n");
DEBUGASSERT(0);
DEBUGPANIC();
}
#ifdef CONFIG_SCHED_TICKLESS_LIMIT_MAX_SLEEP
@@ -199,7 +199,7 @@ void up_timer_initialize(void)
if (ret < 0)
{
tmrerr("ERROR: bm3803_oneshot_max_delay failed\n");
DEBUGASSERT(0);
DEBUGPANIC();
}
/* Convert this to configured clock ticks for use by the OS timer logic */
@@ -223,7 +223,7 @@ void up_timer_initialize(void)
if (ret < 0)
{
tmrerr("ERROR: bm3803_freerun_initialize failed\n");
DEBUGASSERT(0);
DEBUGPANIC();
}
}
+1 -1
View File
@@ -74,7 +74,7 @@ void up_reprioritize_rtr(struct tcb_s *tcb, uint8_t priority)
#endif
)
{
DEBUGASSERT(0);
DEBUGPANIC();
}
else
{