Skip to content

Commit 778fcd8

Browse files
committed
Remove robot_id from connect_to_network
1 parent 63dba84 commit 778fcd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

XRPLib/webserver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def start_network(self, robot_id:int):
3737
self.access_point = access_point(f"XRP_{robot_id}", "remote.xrp")
3838
self.ip = network.WLAN(network.AP_IF).ifconfig()[0]
3939

40-
def connect_to_network(self, ssid:str, password:str, robot_id:int, timeout = 10):
40+
def connect_to_network(self, ssid:str, password:str, timeout = 10):
4141
"""
4242
Connect to a wifi network with the given ssid and password.
4343
If the connection fails, the board will disconnect from the network and return.

0 commit comments

Comments
 (0)