Fix admonitions in WiFi docs
This commit is contained in:
parent
61f4e18301
commit
9dfedaf55c
|
@ -154,7 +154,7 @@ physical mode after setup
|
|||
Configures whether or not WiFi automatically goes to sleep in NULL_MODE. Enabled by default.
|
||||
|
||||
!!! note
|
||||
This function **does not** store it's setting in flash, if auto sleep in NULL_MODE is not desired, `wifi.nullmodesleep(false)` must be called after powerup, restart, or wake from deep sleep.
|
||||
This function **does not** store it's setting in flash, if auto sleep in NULL_MODE is not desired, `wifi.nullmodesleep(false)` must be called after power-up, restart, or wake from deep sleep.
|
||||
|
||||
#### Syntax
|
||||
`wifi.nullmodesleep([enable])`
|
||||
|
@ -358,8 +358,7 @@ none
|
|||
Disconnects from AP in station mode.
|
||||
|
||||
!!! note
|
||||
Please note that disconnecting from Access Point does not reduce power consumption.
|
||||
If power saving is your goal, please refer to the description for `wifi.NULLMODE` in the function [`wifi.setmode()`](#wifisetmode) for more details.
|
||||
Please note that disconnecting from Access Point does not reduce power consumption. If power saving is your goal, please refer to the description for `wifi.NULLMODE` in the function [`wifi.setmode()`](#wifisetmode) for more details.
|
||||
|
||||
#### Syntax
|
||||
`wifi.sta.disconnect()`
|
||||
|
|
Loading…
Reference in New Issue