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")