Reverted a lot of cruft
This commit is contained in:
5
boot.py
5
boot.py
@@ -53,11 +53,6 @@ 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")
|
||||||
|
|||||||
Reference in New Issue
Block a user