mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +03:00
document side-effects for wifi-off-at-boot (#8614)
* adding wifi-off-at-boot side-effects mention in documentation
This commit is contained in:
parent
5d4ae86565
commit
5656035bed
@ -55,6 +55,10 @@ This change is harmless with standard sketches: Calls to ``WiFi.mode()`` do
|
||||
enable radio as usual. It also smooths current spikes at boot and decreases
|
||||
DHCP stress.
|
||||
|
||||
Known side-effects:
|
||||
|
||||
- ``WiFi.mode()`` must be called before changing mac addresses with ``wifi_set_macaddr({SOFTAP,STATION}_IF, ...)``.
|
||||
|
||||
Legacy behavior can be restored by calling ``enableWiFiAtBootTime()`` from
|
||||
anywhere in the code (it is a weak void function intended to play with the
|
||||
linker).
|
||||
|
Loading…
x
Reference in New Issue
Block a user