Soft panic for RTIO PLL reasons #199

Merged
sb10q merged 16 commits from mwojcik/artiq-zynq:pll_error into master 2022-10-21 17:56:34 +08:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 31ceee7e22 - Show all commits

View File

@ -42,9 +42,6 @@ fn panic(info: &core::panic::PanicInfo) -> ! {
let mut err_led = ErrorLED::error_led();
err_led.toggle(true);
}
if !soft_panicked && id == 0 {
soft_panic(info);
}
println!("Backtrace: ");
let _ = backtrace(|ip| {
// Backtrace gives us the return address, i.e. the address after the delay slot,
@ -52,6 +49,9 @@ fn panic(info: &core::panic::PanicInfo) -> ! {
print!("{:#08x} ", ip - 2 * 4);
});
println!("\nEnd backtrace");
if !soft_panicked && id == 0 {
soft_panic(info);
}
loop {}
}