artiq_ddb_template: fix pll_vco indentation

pull/1287/head
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)