mirror of https://github.com/m-labs/artiq.git
runtime: add a missing overflow flag reset
This commit is contained in:
parent
87b51cbcc2
commit
7337842ff9
|
@ -96,6 +96,7 @@ pub extern fn input_timestamp(timeout: i64, channel: i32) -> u64 {
|
|||
}
|
||||
|
||||
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);
|
||||
|
|
Loading…
Reference in New Issue