mirror of https://github.com/m-labs/artiq.git
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 {
|
||||
align_comma();
|
||||
csr::eem_transceiver::rx_ready_write(1);
|
||||
}
|
||||
unsafe { align_comma(); }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -777,7 +777,12 @@ pub extern fn main() -> i32 {
|
|||
});
|
||||
|
||||
#[cfg(has_drtio_eem)]
|
||||
drtio_eem::init();
|
||||
{
|
||||
drtio_eem::init();
|
||||
unsafe {
|
||||
csr::eem_transceiver::rx_ready_write(1)
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(has_drtio_routing)]
|
||||
let mut repeaters = [repeater::Repeater::default(); csr::DRTIOREP.len()];
|
||||
|
|
Loading…
Reference in New Issue