dashboard: also create monitoring widgets for the Zotino class

pull/972/head
Sebastien Bourdeauducq 2018-03-25 11:19:40 +08:00
parent d6a63ad165
commit c3f763e217
1 changed files with 2 additions and 2 deletions

View File

@ -224,8 +224,8 @@ def setup_from_ddb(ddb):
channel = v["arguments"]["channel"]
widget = _WidgetDesc(k, comment, _DDSWidget, (bus_channel, channel, k))
description.add(widget)
elif (v["module"] == "artiq.coredevice.ad53xx"
and v["class"] == "AD53XX"):
elif ( (v["module"] == "artiq.coredevice.ad53xx" and v["class"] == "AD53XX")
or (v["module"] == "artiq.coredevice.zotino" and v["class"] == "Zotino")):
spi_device = v["arguments"]["spi_device"]
spi_device = ddb[spi_device]
while isinstance(spi_device, str):