From d3297df7451cb807fac5ad9f42ea1f6599705310 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20J=C3=B6rdens?= Date: Thu, 5 Mar 2020 17:55:27 +0000 Subject: [PATCH] rtio: fix wide output after RTIO refactoring fixes 3d0c3cc1cf84a1b6688afa4b41ba0c7789717915 --- artiq/firmware/ksupport/rtio.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/firmware/ksupport/rtio.rs b/artiq/firmware/ksupport/rtio.rs index fc64f554b..5ce17850f 100644 --- a/artiq/firmware/ksupport/rtio.rs +++ b/artiq/firmware/ksupport/rtio.rs @@ -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();