coredevice: fix _DDSGeneric __init__ args

This commit is contained in:
Robert Jördens 2016-03-09 17:23:02 +01:00
parent 3f8e431de6
commit b32217cc84
1 changed files with 1 additions and 1 deletions

View File

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