Reverted a lot of cruft

This commit is contained in:
2026-04-21 23:47:19 +02:00
parent 9af28acb51
commit cf545cb849

View File

@@ -53,6 +53,11 @@ elif _connect_wifi():
gc.collect() gc.collect()
del sys.modules["ota"] del sys.modules["ota"]
gc.collect() gc.collect()
sta = network.WLAN(network.STA_IF)
sta.active(False)
utime.sleep_ms(200)
sta.active(True)
utime.sleep_ms(200)
else: else:
print("[boot] WiFi failed — skipping OTA, booting with existing files") print("[boot] WiFi failed — skipping OTA, booting with existing files")