forked from M-Labs/artiq
ad53xx: ldac may be none
This commit is contained in:
parent
f5dee455f5
commit
9969cd85de
|
@ -41,7 +41,7 @@ class AD53xx:
|
||||||
chip_select=0, write_div=4, read_div=6):
|
chip_select=0, write_div=4, read_div=6):
|
||||||
self.core = dmgr.get("core")
|
self.core = dmgr.get("core")
|
||||||
self.bus = dmgr.get(spi_bus)
|
self.bus = dmgr.get(spi_bus)
|
||||||
# if ldac is not None:
|
if ldac is not None:
|
||||||
ldac = dmgr.get(ldac)
|
ldac = dmgr.get(ldac)
|
||||||
self.ldac = ldac
|
self.ldac = ldac
|
||||||
self.chip_select = chip_select
|
self.chip_select = chip_select
|
||||||
|
|
Loading…
Reference in New Issue