forked from ROMEO/obsw
better, not done
This commit is contained in:
@ -17,9 +17,9 @@ extern "C" {
|
||||
|
||||
#[panic_handler]
|
||||
fn panic(panic: &PanicInfo<'_>) -> ! {
|
||||
unsafe {
|
||||
osal::stop_it();
|
||||
}
|
||||
// unsafe { this breaks in ISR
|
||||
// osal::stop_it();
|
||||
// }
|
||||
// TODO: Make this unicode-safe
|
||||
_ = writeln!(crate::fsrc::sif::Stderr {},"");
|
||||
_ = write!(crate::fsrc::sif::Stderr {},"in task \"");
|
||||
|
Reference in New Issue
Block a user