forked from M-Labs/artiq
runtime/main: cleanup
This commit is contained in:
parent
b091d8cb66
commit
448974fe11
|
@ -322,8 +322,6 @@ pub fn oom(layout: core::alloc::Layout) -> ! {
|
||||||
#[no_mangle] // https://github.com/rust-lang/rust/issues/{38281,51647}
|
#[no_mangle] // https://github.com/rust-lang/rust/issues/{38281,51647}
|
||||||
#[panic_handler]
|
#[panic_handler]
|
||||||
pub fn panic_impl(info: &core::panic::PanicInfo) -> ! {
|
pub fn panic_impl(info: &core::panic::PanicInfo) -> ! {
|
||||||
// irq::set_ie(false);
|
|
||||||
|
|
||||||
#[cfg(has_error_led)]
|
#[cfg(has_error_led)]
|
||||||
unsafe {
|
unsafe {
|
||||||
csr::error_led::out_write(1);
|
csr::error_led::out_write(1);
|
||||||
|
|
Loading…
Reference in New Issue