mirror of https://github.com/m-labs/artiq.git
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)):
|
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):
|
||||||
|
|
Loading…
Reference in New Issue