mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-20 09:03:28 +00:00
panic in loader should call die instead of just looping
This commit is contained in:
parent
414cff252f
commit
000c4effab
1 changed files with 3 additions and 1 deletions
|
|
@ -982,6 +982,8 @@ mod panic_handler {
|
||||||
#[panic_handler]
|
#[panic_handler]
|
||||||
fn handle_panic(_arg: &PanicInfo) -> ! {
|
fn handle_panic(_arg: &PanicInfo) -> ! {
|
||||||
crate::println!("{}", _arg);
|
crate::println!("{}", _arg);
|
||||||
loop {}
|
loop {
|
||||||
|
bao1x_hal::sigcheck::die_no_std();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue