2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

runtime: advise to set panic_reboot=1 on panic.

This commit is contained in:
whitequark 2017-04-15 07:29:21 +00:00
parent 0b9601f12d
commit ea753bed17

View File

@ -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 {}
}
}