forked from M-Labs/artiq
Fix ad9910 ram mode asf scale error in polar mode
This commit is contained in:
parent
448080e71d
commit
ada3b39f4e
|
@ -603,7 +603,7 @@ class AD9910:
|
|||
"""
|
||||
for i in range(len(ram)):
|
||||
ram[i] = ((self.turns_to_pow(turns[i]) << 16) |
|
||||
self.amplitude_to_asf(amplitude[i]))
|
||||
self.amplitude_to_asf(amplitude[i]) << 2)
|
||||
|
||||
@kernel
|
||||
def set_frequency(self, frequency):
|
||||
|
|
Loading…
Reference in New Issue