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