forked from M-Labs/artiq
1
0
Fork 0

runtime: add a missing overflow flag reset

This commit is contained in:
Sebastien Bourdeauducq 2018-03-03 13:16:18 +08:00
parent abfbadebb5
commit ba74013e3e
1 changed files with 1 additions and 0 deletions

View File

@ -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);