2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 19:28:26 +08:00

rtio: fix wide output after RTIO refactoring

fixes 3d0c3cc1cf
This commit is contained in:
Robert Jördens 2020-03-05 17:55:27 +00:00
parent e803830b3b
commit 380de177e7

View File

@ -91,7 +91,7 @@ mod imp {
unsafe {
csr::rtio::target_write(target as u32);
// 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 _)
}
let status = csr::rtio::o_status_read();