forked from M-Labs/artiq
1
0
Fork 0

Fix ad9910 ram mode asf scale error in polar mode

This commit is contained in:
Tim Ballance 2019-10-04 10:37:54 +01:00 committed by Robert Jördens
parent 448080e71d
commit ada3b39f4e
1 changed files with 1 additions and 1 deletions

View File

@ -603,7 +603,7 @@ class AD9910:
""" """
for i in range(len(ram)): for i in range(len(ram)):
ram[i] = ((self.turns_to_pow(turns[i]) << 16) | ram[i] = ((self.turns_to_pow(turns[i]) << 16) |
self.amplitude_to_asf(amplitude[i])) self.amplitude_to_asf(amplitude[i]) << 2)
@kernel @kernel
def set_frequency(self, frequency): def set_frequency(self, frequency):