forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 2 additions and 2 deletions

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)