mirror of https://github.com/m-labs/artiq.git
parent
ced5b938db
commit
d3297df745
|
@ -91,7 +91,7 @@ mod imp {
|
||||||
unsafe {
|
unsafe {
|
||||||
csr::rtio::target_write(target as u32);
|
csr::rtio::target_write(target as u32);
|
||||||
// writing target clears o_data
|
// writing target clears o_data
|
||||||
for i in 0..data.len() {
|
for i in (0..data.len()).rev() {
|
||||||
rtio_o_data_write(i, data[i] as _)
|
rtio_o_data_write(i, data[i] as _)
|
||||||
}
|
}
|
||||||
let status = csr::rtio::o_status_read();
|
let status = csr::rtio::o_status_read();
|
||||||
|
|
Loading…
Reference in New Issue