coredevice: set default pow for ad9912 set_mu()

pull/1544/head^2
Leon Riesebos 2021-06-24 19:40:30 -04:00 committed by Sébastien Bourdeauducq
parent 9e3ea4e8ef
commit 7ffe4dc2e3
1 changed files with 1 additions and 1 deletions

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