Skip to content

Commit 359a8aa

Browse files
author
danicampora
committed
docs/wipy: Fix error in WLAN quickref.
1 parent a3a33db commit 359a8aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/wipy/quickref.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ See :ref:`network.WLAN <network.WLAN>` and :mod:`machine`. ::
193193
pass
194194
print(wifi.ifconfig())
195195
# enable wake on WLAN
196-
wifi.irq(wake=machine.SLEEP)
196+
wifi.irq(trigger=WLAN.ANY_EVENT, wake=machine.SLEEP)
197197
# go to sleep
198198
machine.sleep()
199199
# now, connect to the FTP or the Telnet server and the WiPy will wake-up

0 commit comments

Comments
 (0)