mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 06:42:32 +08:00
Replace non critical PANIC with DEBUGPANIC to save the code space
This commit is contained in:
@@ -202,5 +202,5 @@ void _exit(int status)
|
||||
* interrupts are disabled.
|
||||
*/
|
||||
|
||||
PANIC();
|
||||
DEBUGPANIC();
|
||||
}
|
||||
|
||||
@@ -90,7 +90,7 @@ void up_reprioritize_rtr(struct tcb_s *tcb, uint8_t priority)
|
||||
#endif
|
||||
)
|
||||
{
|
||||
PANIC();
|
||||
DEBUGPANIC();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user