forked from M-Labs/artiq
artiq_ddb_template: remove SFP LEDs on hw 2.0+
This commit is contained in:
parent
2d1f1fff7f
commit
f273a9aacc
|
@ -520,7 +520,7 @@ def process(output, master_description, satellites):
|
||||||
for peripheral in master_description["peripherals"]:
|
for peripheral in master_description["peripherals"]:
|
||||||
n_channels = pm.process(rtio_offset, peripheral)
|
n_channels = pm.process(rtio_offset, peripheral)
|
||||||
rtio_offset += n_channels
|
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)
|
n_channels = pm.add_sfp_leds(rtio_offset)
|
||||||
rtio_offset += n_channels
|
rtio_offset += n_channels
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue