forked from M-Labs/artiq
1
0
Fork 0

zotino: use None as default for ldac and clr

This is also what AD53xx does.
This commit is contained in:
Sebastien Bourdeauducq 2018-04-22 15:02:50 +08:00
parent d2d02ae353
commit c47d3ec8c8
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class Zotino(AD53xx):
:param core_device: Core device name (default: "core") :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"): div_write=4, div_read=8, vref=5., core="core"):
AD53xx.__init__(self, dmgr=dmgr, spi_device=spi_device, AD53xx.__init__(self, dmgr=dmgr, spi_device=spi_device,
ldac_device=ldac_device, clr_device=clr_device, ldac_device=ldac_device, clr_device=clr_device,