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

View File

@ -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,