mirror of https://github.com/m-labs/artiq.git
coredevice: fix _DDSGeneric __init__ args
This commit is contained in:
parent
3f8e431de6
commit
b32217cc84
|
@ -82,7 +82,7 @@ class _DDSGeneric:
|
||||||
:param bus: name of the DDS bus device that this DDS is connected to.
|
:param bus: name of the DDS bus device that this DDS is connected to.
|
||||||
:param channel: channel number of the DDS device to control.
|
:param channel: channel number of the DDS device to control.
|
||||||
"""
|
"""
|
||||||
def __init__(self, dmgr, sysclk, bus_channel, channel, core_dds_device="core_dds"):
|
def __init__(self, dmgr, bus_channel, channel, core_dds_device="core_dds"):
|
||||||
self.core_dds = dmgr.get(core_dds_device)
|
self.core_dds = dmgr.get(core_dds_device)
|
||||||
self.core = self.core_dds.core
|
self.core = self.core_dds.core
|
||||||
self.bus_channel = bus_channel
|
self.bus_channel = bus_channel
|
||||||
|
|
Loading…
Reference in New Issue