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...");
|
println!("rebooting...");
|
||||||
unsafe { board::boot::reboot() }
|
unsafe { board::boot::reboot() }
|
||||||
} else {
|
} else {
|
||||||
|
println!("halting.");
|
||||||
|
println!("use `artiq_coreconfig write -s panic_reboot 1` to reboot instead");
|
||||||
loop {}
|
loop {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue