From cf545cb8496a420f34bc34ed609d767e6ce2d08f Mon Sep 17 00:00:00 2001 From: "Adrian A. Baumann" Date: Tue, 21 Apr 2026 23:47:19 +0200 Subject: [PATCH] Reverted a lot of cruft --- boot.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/boot.py b/boot.py index 5499de7..6fbe902 100644 --- a/boot.py +++ b/boot.py @@ -53,6 +53,11 @@ elif _connect_wifi(): gc.collect() del sys.modules["ota"] gc.collect() + sta = network.WLAN(network.STA_IF) + sta.active(False) + utime.sleep_ms(200) + sta.active(True) + utime.sleep_ms(200) else: print("[boot] WiFi failed — skipping OTA, booting with existing files")