There was an error while loading. Please reload this page.
1 parent 8332c42 commit df8f8a7Copy full SHA for df8f8a7
doc/esp8266wifi/generic-class.rst
@@ -55,15 +55,15 @@ This change is harmless with standard sketches: Calls to ``WiFi.mode()`` do
55
enable radio as usual. It also smooths current spikes at boot and decreases
56
DHCP stress.
57
58
-Legacy behavior can be restored by calling ``enableWiFiAtBoot()`` from
+Legacy behavior can be restored by calling ``enableWiFiAtBootTime()`` from
59
anywhere in the code (it is a weak void function intended to play with the
60
linker).
61
62
.. code:: cpp
63
64
void setup () {
65
#ifdef WIFI_IS_OFF_AT_BOOT
66
- enableWiFiAtBoot(); // can be called from anywhere with the same effect
+ enableWiFiAtBootTime(); // can be called from anywhere with the same effect
67
#endif
68
....
69
}
0 commit comments