mirror of https://github.com/m-labs/artiq.git
runtime: advise to set panic_reboot=1 on panic.
This commit is contained in:
parent
0b9601f12d
commit
ea753bed17
|
@ -180,6 +180,8 @@ pub extern fn panic_fmt(args: core::fmt::Arguments, file: &'static str, line: u3
|
|||
println!("rebooting...");
|
||||
unsafe { board::boot::reboot() }
|
||||
} else {
|
||||
println!("halting.");
|
||||
println!("use `artiq_coreconfig write -s panic_reboot 1` to reboot instead");
|
||||
loop {}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue