forked from M-Labs/artiq
drtio_eem: move rx_ready out of init
This commit is contained in:
parent
27d54cb8f3
commit
40ab4fee5b
@ -211,9 +211,6 @@ pub fn init() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
unsafe {
|
unsafe { align_comma(); }
|
||||||
align_comma();
|
|
||||||
csr::eem_transceiver::rx_ready_write(1);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -777,7 +777,12 @@ pub extern fn main() -> i32 {
|
|||||||
});
|
});
|
||||||
|
|
||||||
#[cfg(has_drtio_eem)]
|
#[cfg(has_drtio_eem)]
|
||||||
drtio_eem::init();
|
{
|
||||||
|
drtio_eem::init();
|
||||||
|
unsafe {
|
||||||
|
csr::eem_transceiver::rx_ready_write(1)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#[cfg(has_drtio_routing)]
|
#[cfg(has_drtio_routing)]
|
||||||
let mut repeaters = [repeater::Repeater::default(); csr::DRTIOREP.len()];
|
let mut repeaters = [repeater::Repeater::default(); csr::DRTIOREP.len()];
|
||||||
|
Loading…
Reference in New Issue
Block a user