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

gui: fix DDS class recognition

This commit is contained in:
Sebastien Bourdeauducq 2015-07-14 17:28:26 +02:00
parent 6e3fd591f7
commit 84e7f55df3

View File

@ -167,7 +167,7 @@ class _DeviceManager:
self.send_to_device, channel, force_out, k)
self.ttl_cb()
if (v["module"] == "artiq.coredevice.dds"
and v["class"] == "DDS"):
and v["class"] in {"AD9858", "AD9914"}):
channel = v["arguments"]["channel"]
sysclk = v["arguments"]["sysclk"]
self.dds_widgets[channel] = _DDSWidget(