diff options
Diffstat (limited to 'docs/wipy')
-rw-r--r-- | docs/wipy/quickref.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/wipy/quickref.rst b/docs/wipy/quickref.rst index aa679542e..9f4a55070 100644 --- a/docs/wipy/quickref.rst +++ b/docs/wipy/quickref.rst @@ -193,7 +193,7 @@ See :ref:`network.WLAN <network.WLAN>` and :mod:`machine`. :: pass print(wifi.ifconfig()) # enable wake on WLAN - wifi.irq(wake=machine.SLEEP) + wifi.irq(trigger=WLAN.ANY_EVENT, wake=machine.SLEEP) # go to sleep machine.sleep() # now, connect to the FTP or the Telnet server and the WiPy will wake-up |