Skip to content

Commit

Permalink
Fix admonition formatting error in wifi module docs added with #1910
Browse files Browse the repository at this point in the history
Modified documentation for:
  wifi.suspend()
  wifi.resume()
  • Loading branch information
dnc40085 committed Apr 16, 2017
1 parent 2f8b353 commit e559160
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions docs/en/modules/wifi.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,10 @@ The current physical mode as one of `wifi.PHYMODE_B`, `wifi.PHYMODE_G` or `wifi.
[`wifi.setphymode()`](#wifisetphymode)

## wifi.resume()

Wake up WiFi from suspended state or cancel pending wifi suspension

!!! note
Wifi resume occurs asynchronously, this means that the resume request will only be processed when control of the processor is passed back to the SDK (after MyResumeFunction() has completed)
The resume callback also occurs asynchronously and will only execute after wifi has resumed normal operation.
Wifi resume occurs asynchronously, this means that the resume request will only be processed when control of the processor is passed back to the SDK (after MyResumeFunction() has completed). The resume callback also occurs asynchronously and will only execute after wifi has resumed normal operation.

#### Syntax
`wifi.resume([resume_cb])`
Expand Down Expand Up @@ -262,12 +260,10 @@ none
[`wifi.startsmart()`](#wifistartsmart)

## wifi.suspend()

Suspend Wifi to reduce current consumption.

!!! note
Wifi suspension occurs asynchronously, this means that the suspend request will only be processed when control of the processor is passed back to the SDK (after MySuspendFunction() has completed)
The suspend callback also occurs asynchronously and will only execute after wifi has been successfully been suspended.
Wifi suspension occurs asynchronously, this means that the suspend request will only be processed when control of the processor is passed back to the SDK (after MySuspendFunction() has completed). The suspend callback also occurs asynchronously and will only execute after wifi has been successfully been suspended.


#### Syntax
Expand Down

0 comments on commit e559160

Please sign in to comment.