Skip to content
Snippets Groups Projects
Commit 359a8aa7 authored by danicampora's avatar danicampora
Browse files

docs/wipy: Fix error in WLAN quickref.

parent a3a33db4
No related branches found
No related tags found
No related merge requests found
...@@ -193,7 +193,7 @@ See :ref:`network.WLAN <network.WLAN>` and :mod:`machine`. :: ...@@ -193,7 +193,7 @@ See :ref:`network.WLAN <network.WLAN>` and :mod:`machine`. ::
pass pass
print(wifi.ifconfig()) print(wifi.ifconfig())
# enable wake on WLAN # enable wake on WLAN
wifi.irq(wake=machine.SLEEP) wifi.irq(trigger=WLAN.ANY_EVENT, wake=machine.SLEEP)
# go to sleep # go to sleep
machine.sleep() machine.sleep()
# now, connect to the FTP or the Telnet server and the WiPy will wake-up # now, connect to the FTP or the Telnet server and the WiPy will wake-up
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment