forked from M-Labs/artiq
1
0
Fork 0

gui: fix DDS class recognition

This commit is contained in:
Sebastien Bourdeauducq 2015-07-14 17:28:26 +02:00
parent 6e3fd591f7
commit 84e7f55df3
1 changed files with 1 additions and 1 deletions

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(