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

artiq_ddb_template: fix pll_vco indentation

This commit is contained in:
Sebastien Bourdeauducq 2019-02-22 23:50:30 +08:00
parent 62985fbd29
commit d79a6ee41c

View File

@ -177,7 +177,7 @@ class PeripheralManager:
name=urukul_name,
chip_select=4 + i,
uchn=i,
pll_vco=",\n\"pll_vco\": {}".format(pll_vco) if pll_vco is not None else "")
pll_vco=",\n \"pll_vco\": {}".format(pll_vco) if pll_vco is not None else "")
elif dds == "ad9912":
self.gen("""
device_db["{name}_ch{uchn}"] = {{
@ -194,7 +194,7 @@ class PeripheralManager:
name=urukul_name,
chip_select=4 + i,
uchn=i,
pll_vco=",\n\"pll_vco\": {}".format(pll_vco) if pll_vco is not None else "")
pll_vco=",\n \"pll_vco\": {}".format(pll_vco) if pll_vco is not None else "")
else:
raise ValueError
return next(channel)