2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 11:18:27 +08:00

ad5360: style

This commit is contained in:
Robert Jördens 2016-03-04 18:15:35 +01:00
parent 710717ca9b
commit e834a88340

View File

@ -44,8 +44,7 @@ class AD5360:
multi-channel Digital to Analog Converters multi-channel Digital to Analog Converters
""" """
def __init__(self, dmgr, spi_device, ldac_device=None, def __init__(self, dmgr, spi_device, ldac_device=None, chip_select=1):
chip_select=1):
self.core = dmgr.get("core") self.core = dmgr.get("core")
self.bus = dmgr.get(spi_device) self.bus = dmgr.get(spi_device)
if ldac_device is not None: if ldac_device is not None: