From d79a6ee41c2d5c6be12b7d42d937e36d05db68b3 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 22 Feb 2019 23:50:30 +0800 Subject: [PATCH] artiq_ddb_template: fix pll_vco indentation --- artiq/frontend/artiq_ddb_template.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/frontend/artiq_ddb_template.py b/artiq/frontend/artiq_ddb_template.py index 2665aa215..42466d541 100755 --- a/artiq/frontend/artiq_ddb_template.py +++ b/artiq/frontend/artiq_ddb_template.py @@ -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)