mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-26 11:48:27 +08:00
Fix moninj showing wrong frequency for urukuls with non-default clk_div
Signed-off-by: Egor Savkin <es@m-labs.hk>
This commit is contained in:
parent
c65520ab01
commit
366bb0fc59
@ -399,7 +399,7 @@ def setup_from_ddb(ddb):
|
|||||||
bus_channel = ddb[spi_dev]["arguments"]["channel"]
|
bus_channel = ddb[spi_dev]["arguments"]["channel"]
|
||||||
pll = v["arguments"]["pll_n"]
|
pll = v["arguments"]["pll_n"]
|
||||||
refclk = ddb[dds_cpld]["arguments"]["refclk"]
|
refclk = ddb[dds_cpld]["arguments"]["refclk"]
|
||||||
clk_div = v["arguments"].get("clk_div", 0)
|
clk_div = ddb[dds_cpld]["arguments"].get("clk_div", 0)
|
||||||
widget = _WidgetDesc(k, comment, _DDSWidget,
|
widget = _WidgetDesc(k, comment, _DDSWidget,
|
||||||
(k, bus_channel, channel, v["class"],
|
(k, bus_channel, channel, v["class"],
|
||||||
refclk, dds_cpld, pll, clk_div))
|
refclk, dds_cpld, pll, clk_div))
|
||||||
|
Loading…
Reference in New Issue
Block a user