runtime: do not use slcr soft_reset in panic

This commit is contained in:
Sebastien Bourdeauducq 2020-07-06 13:07:52 +08:00
parent 33d12801b7
commit f895773535

View File

@ -21,6 +21,6 @@ fn panic(info: &core::panic::PanicInfo) -> ! {
println!("{:#08x}", ip - 2 * 4);
});
println!("End backtrace");
slcr::RegisterBlock::unlocked(|slcr| slcr.soft_reset());
loop {}
}