re-add DefaultHandler
This commit is contained in:
parent
475f2b3dd2
commit
059d4faf9f
@ -61,3 +61,8 @@ fn panic(_info: &core::panic::PanicInfo) -> ! {
|
||||
fn HardFault(ef: &cortex_m_rt::ExceptionFrame) -> ! {
|
||||
panic!("HardFault at {:#?}", ef);
|
||||
}
|
||||
|
||||
#[cortex_m_rt::exception]
|
||||
fn DefaultHandler(irqn: i16) {
|
||||
panic!("Unhandled exception (IRQn = {})", irqn);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user