mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
dashboard: also create monitoring widgets for the Zotino class
This commit is contained in:
parent
d6a63ad165
commit
c3f763e217
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user