2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 19:28:26 +08:00

sampler: fix mistake in c591e7e3

This commit is contained in:
Sebastien Bourdeauducq 2023-01-15 12:26:08 +08:00
parent 7635b9ed92
commit 287e55c08a

View File

@ -164,4 +164,4 @@ class Sampler:
for i in range(n):
channel = i + 8 - len(data)
gain = (self.gains >> (channel*2)) & 0b11
data[i] = adc_mu_to_volt(adc_data[i], gain, self.revision)
data[i] = adc_mu_to_volt(adc_data[i], gain, self.corrected_fs)