forked from M-Labs/artiq
1
0
Fork 0

drtio: remove obsolete CSR accesses from test

This commit is contained in:
Sebastien Bourdeauducq 2017-03-27 16:44:22 +08:00
parent b74d6fb9ba
commit ea3af1e20e
1 changed files with 0 additions and 2 deletions

View File

@ -123,10 +123,8 @@ class TestFullStack(unittest.TestCase):
while status:
status = yield from kcsrs.o_status.read()
if status & 2:
yield from kcsrs.o_underflow_reset.write(1)
raise RTIOUnderflow
if status & 4:
yield from kcsrs.o_sequence_error_reset.write(1)
raise RTIOSequenceError
yield
wlen += 1