pylint
This commit is contained in:
parent
7500be139d
commit
b6c6385308
@ -1,4 +1,5 @@
|
|||||||
# This file is executed on every boot (including wake-boot from deepsleep)
|
"""This file is executed on every boot (including wake-boot from deepsleep)"""
|
||||||
|
|
||||||
# import esp
|
# import esp
|
||||||
# esp.osdebug(None)
|
# esp.osdebug(None)
|
||||||
import gc
|
import gc
|
||||||
@ -10,9 +11,9 @@ from wifi_config import known_wifi_ap
|
|||||||
# Connect to one of the known wifi AP
|
# Connect to one of the known wifi AP
|
||||||
WLAN = network.WLAN(network.STA_IF)
|
WLAN = network.WLAN(network.STA_IF)
|
||||||
WLAN.active(True)
|
WLAN.active(True)
|
||||||
wifi_ap_list = WLAN.scan()
|
AP_LIST = WLAN.scan()
|
||||||
|
|
||||||
for ap in wifi_ap_list:
|
for ap in AP_LIST:
|
||||||
if WLAN.isconnected():
|
if WLAN.isconnected():
|
||||||
break
|
break
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user