Skip to content
Snippets Groups Projects
Commit d7fe3523 authored by Björn Senfftleben's avatar Björn Senfftleben
Browse files

fixes multilink feature

parent 9f6f497f
No related branches found
No related tags found
No related merge requests found
Pipeline #164543 failed
......@@ -185,10 +185,10 @@ class Tempus(Device):
await self.send_command(
f"os.system('{self.APP_DIR}/sc_set_gwt_link_up.py -i 0x0 "
"-l 0x0 -s 0x2')", sleep_time=15)
"-l 0x0 -s 0x2')", sleep_time=15) # 0x2 -> 0x1 at the end would double the bandwidth per link to 2.56 Gbit/s instead of 1.28
await self.send_command(
f"os.system('{self.APP_DIR}/sc_set_gwt_link_up.py -i 0x1 "
"-l 0x0 -s 0x2')", sleep_time=15)
"-l 0x0 -s 0x2')", sleep_time=15) # 0x2 -> 0x1 at the end would double the bandwidth per link to 2.56 Gbit/s instead of 1.28
await self.send_command("os.system('devmem2 0x80050000 w 0x2')")
else:
......@@ -217,6 +217,8 @@ class Tempus(Device):
await self.send_command(f"os.system('{self.APP_DIR}/sc_set_gwt_link_up.py -i 0x1 -l 0x0 -s 0x2')", sleep_time=15)
await self.send_command(f"os.system('{self.APP_DIR}/sc_set_gwt_link_up.py -i 0x1 -l 0x1 -s 0x2')", sleep_time=15)
await self.send_command("os.system('devmem2 0x80050000 w 0x2')")
self.status = "Initialized"
self.state = State.ON
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment