Skip to content

Commit e559160

Browse files
committed
Fix admonition formatting error in wifi module docs added with #1910
Modified documentation for: wifi.suspend() wifi.resume()
1 parent 2f8b353 commit e559160

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

docs/en/modules/wifi.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,10 @@ The current physical mode as one of `wifi.PHYMODE_B`, `wifi.PHYMODE_G` or `wifi.
7979
[`wifi.setphymode()`](#wifisetphymode)
8080

8181
## wifi.resume()
82-
8382
Wake up WiFi from suspended state or cancel pending wifi suspension
8483

8584
!!! note
86-
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)
87-
The resume callback also occurs asynchronously and will only execute after wifi has resumed normal operation.
85+
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.
8886

8987
#### Syntax
9088
`wifi.resume([resume_cb])`
@@ -262,12 +260,10 @@ none
262260
[`wifi.startsmart()`](#wifistartsmart)
263261

264262
## wifi.suspend()
265-
266263
Suspend Wifi to reduce current consumption.
267264

268265
!!! note
269-
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)
270-
The suspend callback also occurs asynchronously and will only execute after wifi has been successfully been suspended.
266+
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.
271267

272268

273269
#### Syntax

0 commit comments

Comments
 (0)