From ba74013e3e82d4c75dfba34b9e5d0d7bd9030672 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 3 Mar 2018 13:16:18 +0800 Subject: [PATCH] runtime: add a missing overflow flag reset --- artiq/firmware/ksupport/rtio.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/artiq/firmware/ksupport/rtio.rs b/artiq/firmware/ksupport/rtio.rs index f53243b46..4d8b251a0 100644 --- a/artiq/firmware/ksupport/rtio.rs +++ b/artiq/firmware/ksupport/rtio.rs @@ -93,6 +93,7 @@ mod imp { } if status & RTIO_I_STATUS_OVERFLOW != 0 { + csr::rtio::i_overflow_reset_write(1); raise!("RTIOOverflow", "RTIO input overflow on channel {0}", channel as i64, 0, 0);