Commit 72ee1356 authored by Projects's avatar Projects

tests/pulse_rejection: clear errors by writing to error register

parent f411da59
......@@ -88,7 +88,7 @@ for test in tests:
convttl.pulse_counter_set(ch, (0, 0))
# clear errors (including missed pulse flags)
convttl.error.clear()
convttl.error.error_reg = convttl.error.ERRORS_MASK
print("------")
print("TEST: repeat %d pulses at %d Hz" % (pulses, freq))
......@@ -146,7 +146,7 @@ for test in tests:
convttl.pulse_counter_set(ch, (0, 0))
# clear errors (including missed pulse flags)
convttl.error.clear()
convttl.error.error_reg = convttl.error.ERRORS_MASK
print("")
print("------")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment