artiq_ddb_template: remove SFP LEDs on hw 2.0+

pull/1483/head
Sebastien Bourdeauducq 2020-07-08 18:15:36 +08:00
parent 2d1f1fff7f
commit f273a9aacc
1 changed files with 1 additions and 1 deletions

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