Remove connection details printout from connect_wifi function
This commit is contained in:
parent
8889831615
commit
25e48407c2
@ -98,9 +98,5 @@ def connect_wifi(led=None, max_retries=3, timeout=20):
|
||||
time.sleep(0.2)
|
||||
|
||||
print('Connected to WiFi successfully!')
|
||||
|
||||
# Print connection details
|
||||
ifconfig = wlan.ifconfig()
|
||||
print(f"IP: {ifconfig[0]} | Gateway: {ifconfig[2]}")
|
||||
|
||||
|
||||
return wlan
|
||||
Loading…
x
Reference in New Issue
Block a user