mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-26 03:38:25 +08:00
ad5360: style
This commit is contained in:
parent
710717ca9b
commit
e834a88340
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user