Skip to content

Commit 9b4502b

Browse files
committed
docs/esp8266/tutorial: Fix typo in do_connect() network example.
Fixes issue micropython#2065.
1 parent ce2d34d commit 9b4502b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/esp8266/tutorial/network_basics.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ connect to your WiFi network::
6262
print('connecting to network...')
6363
sta_if.active(True)
6464
sta_if.connect('<essid>', '<password>')
65-
while not network.isconnected():
65+
while not sta_if.isconnected():
6666
pass
6767
print('network config:', sta_if.ifconfig())
6868

0 commit comments

Comments
 (0)