We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d206b5e commit 6f373c5Copy full SHA for 6f373c5
ports/esp32/modules/WiFi.py
@@ -170,6 +170,8 @@ def WiFi_connect(prn=False):
170
if wlan_sta.status() != network.STAT_GOT_IP:
171
net_state = NET_STA_CONNECTING
172
PRINT and print('NET_STA_CONNECTING: not STAT_GOT_IP')
173
+ else:
174
+ net_time = time()
175
elif net_state == NET_AP_INIT:
176
if wlan_sta.active():
177
if wlan_sta.isconnected():
0 commit comments