From d8e1a22bdf5fc99f20dc2381f2ecd2e6e4fdc41d Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 23 Nov 2021 16:12:36 +0800 Subject: [PATCH] coredevice/ad53xx: remove problematic default param --- artiq/coredevice/ad53xx.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/coredevice/ad53xx.py b/artiq/coredevice/ad53xx.py index 4d7656072..0266ab836 100644 --- a/artiq/coredevice/ad53xx.py +++ b/artiq/coredevice/ad53xx.py @@ -317,7 +317,7 @@ class AD53xx: self.ldac.on() @kernel - def set_dac_mu(self, values: list[int32], channels: list[int32] = list(range(40))): + def set_dac_mu(self, values: list[int32], channels: list[int32]): # NAC3TODO default list(range(40)) """Program multiple DAC channels and pulse LDAC to update the DAC outputs. @@ -348,7 +348,7 @@ class AD53xx: at_mu(t0) @kernel - def set_dac(self, voltages: list[float], channels: list[int32] = list(range(40))): + def set_dac(self, voltages: list[float], channels: list[int32]): # NAC3TODO default list(range(40)) """Program multiple DAC channels and pulse LDAC to update the DAC outputs.