Skip to content

Commit 5656035

Browse files
authored
document side-effects for wifi-off-at-boot (#8614)
* adding wifi-off-at-boot side-effects mention in documentation
1 parent 5d4ae86 commit 5656035

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: doc/esp8266wifi/generic-class.rst

+4
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ This change is harmless with standard sketches: Calls to ``WiFi.mode()`` do
5555
enable radio as usual. It also smooths current spikes at boot and decreases
5656
DHCP stress.
5757

58+
Known side-effects:
59+
60+
- ``WiFi.mode()`` must be called before changing mac addresses with ``wifi_set_macaddr({SOFTAP,STATION}_IF, ...)``.
61+
5862
Legacy behavior can be restored by calling ``enableWiFiAtBootTime()`` from
5963
anywhere in the code (it is a weak void function intended to play with the
6064
linker).

0 commit comments

Comments
 (0)