artiq_ddb_template: remove SFP LEDs on hw 2.0+

This commit is contained in:
Sebastien Bourdeauducq 2020-07-08 18:15:36 +08:00
parent 2d1f1fff7f
commit f273a9aacc

View File

@ -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