mirror of https://github.com/m-labs/artiq.git
runtime: add a missing overflow flag reset
This commit is contained in:
parent
abfbadebb5
commit
ba74013e3e
|
@ -93,6 +93,7 @@ mod imp {
|
||||||
}
|
}
|
||||||
|
|
||||||
if status & RTIO_I_STATUS_OVERFLOW != 0 {
|
if status & RTIO_I_STATUS_OVERFLOW != 0 {
|
||||||
|
csr::rtio::i_overflow_reset_write(1);
|
||||||
raise!("RTIOOverflow",
|
raise!("RTIOOverflow",
|
||||||
"RTIO input overflow on channel {0}",
|
"RTIO input overflow on channel {0}",
|
||||||
channel as i64, 0, 0);
|
channel as i64, 0, 0);
|
||||||
|
|
Loading…
Reference in New Issue