From f273a9aaccefdfed7068e7e43f5ecec01355d36e Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 8 Jul 2020 18:15:36 +0800 Subject: [PATCH] artiq_ddb_template: remove SFP LEDs on hw 2.0+ --- artiq/frontend/artiq_ddb_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/frontend/artiq_ddb_template.py b/artiq/frontend/artiq_ddb_template.py index 57bddf32c..052673e03 100755 --- a/artiq/frontend/artiq_ddb_template.py +++ b/artiq/frontend/artiq_ddb_template.py @@ -520,7 +520,7 @@ def process(output, master_description, satellites): for peripheral in master_description["peripherals"]: n_channels = pm.process(rtio_offset, peripheral) rtio_offset += n_channels - if base == "standalone": + if base == "standalone" and master_description["hw_rev"] in ("v1.0", "v1.1"): n_channels = pm.add_sfp_leds(rtio_offset) rtio_offset += n_channels