2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-24 10:54:02 +08:00

coredevice: set default pow for ad9912 set_mu()

This commit is contained in:
Leon Riesebos 2021-06-24 19:40:30 -04:00 committed by Sébastien Bourdeauducq
parent 9e3ea4e8ef
commit 7ffe4dc2e3

View File

@ -156,7 +156,7 @@ class AD9912:
return self.cpld.get_channel_att(self.chip_select - 4)
@kernel
def set_mu(self, ftw: TInt64, pow_: TInt32):
def set_mu(self, ftw: TInt64, pow_: TInt32 = 0):
"""Set profile 0 data in machine units.
After the SPI transfer, the shared IO update pin is pulsed to