mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
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
Block a user