Compare commits

1 Commits

Author SHA1 Message Date
pi
3b38264b70 chore(wifi): log connecting while waiting for STA
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-03 21:27:29 +12:00

View File

@@ -54,6 +54,7 @@ sta_if.active(True)
sta_if.config(pm=network.WLAN.PM_NONE) sta_if.config(pm=network.WLAN.PM_NONE)
sta_if.connect(settings["ssid"], settings["password"]) sta_if.connect(settings["ssid"], settings["password"])
while not sta_if.isconnected(): while not sta_if.isconnected():
print("Connecting")
utime.sleep(1) utime.sleep(1)
wdt.feed() wdt.feed()