From c47d3ec8c844158f8fce3c8f993e77c5276d7196 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 22 Apr 2018 15:02:50 +0800 Subject: [PATCH] zotino: use None as default for ldac and clr This is also what AD53xx does. --- artiq/coredevice/zotino.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/coredevice/zotino.py b/artiq/coredevice/zotino.py index 19eeca6c2..e56842be5 100644 --- a/artiq/coredevice/zotino.py +++ b/artiq/coredevice/zotino.py @@ -34,7 +34,7 @@ class Zotino(AD53xx): :param core_device: Core device name (default: "core") """ - def __init__(self, dmgr, spi_device, ldac_device, clr_device, + def __init__(self, dmgr, spi_device, ldac_device=None, clr_device=None, div_write=4, div_read=8, vref=5., core="core"): AD53xx.__init__(self, dmgr=dmgr, spi_device=spi_device, ldac_device=ldac_device, clr_device=clr_device,