From 22e2506dfa9f0be06d68e264b4634ac6a278e538 Mon Sep 17 00:00:00 2001 From: arofarn Date: Sat, 16 May 2020 09:06:18 +0200 Subject: [PATCH] Disable webrepl and AP_IF --- code/boot.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/code/boot.py b/code/boot.py index 1ebe6cc..419e7c6 100644 --- a/code/boot.py +++ b/code/boot.py @@ -5,9 +5,13 @@ import gc import time import network -import webrepl +# import webrepl from config import KNOWN_WIFI_AP +# Disable AP +WLAN = network.WLAN(network.AP_IF) +WLAN.active(False) + # Connect to one of the known wifi AP WLAN = network.WLAN(network.STA_IF) WLAN.active(True) @@ -33,7 +37,7 @@ for ap in AP_LIST: print("Wifi time-out") break -webrepl.start() +# webrepl.start() print("Boot.py : Done") gc.collect()