forked from M-Labs/artiq
kasli: control SFP1 and SFP2 LEDs in DRTIO satellite to match master
This commit is contained in:
parent
5d81877b34
commit
386aa75aaa
|
@ -465,7 +465,8 @@ class Satellite(BaseSoC):
|
||||||
phy = ttl_simple.Output(platform.request("user_led", 0))
|
phy = ttl_simple.Output(platform.request("user_led", 0))
|
||||||
self.submodules += phy
|
self.submodules += phy
|
||||||
rtio_channels.append(rtio.Channel.from_phy(phy))
|
rtio_channels.append(rtio.Channel.from_phy(phy))
|
||||||
phy = ttl_simple.Output(platform.request("sfp_ctl", 1).led)
|
for i in range(1, 3):
|
||||||
|
phy = ttl_simple.Output(platform.request("sfp_ctl", i).led)
|
||||||
self.submodules += phy
|
self.submodules += phy
|
||||||
rtio_channels.append(rtio.Channel.from_phy(phy))
|
rtio_channels.append(rtio.Channel.from_phy(phy))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue