forked from M-Labs/nac3
runtime: do not use slcr soft_reset in panic
This commit is contained in:
parent
33d12801b7
commit
f895773535
|
@ -21,6 +21,6 @@ fn panic(info: &core::panic::PanicInfo) -> ! {
|
||||||
println!("{:#08x}", ip - 2 * 4);
|
println!("{:#08x}", ip - 2 * 4);
|
||||||
});
|
});
|
||||||
println!("End backtrace");
|
println!("End backtrace");
|
||||||
slcr::RegisterBlock::unlocked(|slcr| slcr.soft_reset());
|
|
||||||
loop {}
|
loop {}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue