glenn20/micropython

Error in readthedocs.io/en/latest/esp32/quickref.html#webrepl-web-browser-interactive-prompt

Closed this issue · 0 comments

In function do_connect appears:
...
if not wlan.isconnected():
print('connecting to network...')
wlan.connect('ssid', 'key')
while not wlan.isconnected():
pass
...
in case the wlan.connect fails, this will run forever
(while is true and the body of the block does nothing)