Commit 47353e92 authored by Federico Vaga's avatar Federico Vaga

tst: reduce acceptable noise on digital noise test

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 092d402b
......@@ -100,7 +100,7 @@ class TestAdcRegressions(object):
sample = buf.contents.get_sample(chan, i) >> 2
if prev_s is not None:
# TODO improve future sample computarion (just rule of thumb number now)
assert abs(sample - prev_s) < 500, digital_noise_report(buf, i, chan, vref)
assert abs(sample - prev_s) < 50, digital_noise_report(buf, i, chan, vref)
prev_s = sample
adc_simple_triangle.release_buffer(buf, None)
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