Make interrupt default handler trigger panic mode.
This commit is contained in:
parent
2673112a9c
commit
95382d9ab8
@ -34,6 +34,12 @@ void HardFault_Handler(void)
|
||||
while (1);
|
||||
}
|
||||
|
||||
/* Overwrite default handler. Go to panic mode */
|
||||
void __int_default_handler(void)
|
||||
{
|
||||
panic_mode();
|
||||
}
|
||||
|
||||
void panic_mode(void)
|
||||
{
|
||||
/* Panic mode is esentially the same as a hardfault,
|
||||
|
Loading…
Reference in New Issue
Block a user