Skip to content

Commit df8f8a7

Browse files
committed
fix doc
1 parent 8332c42 commit df8f8a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/esp8266wifi/generic-class.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ 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-
Legacy behavior can be restored by calling ``enableWiFiAtBoot()`` from
58+
Legacy behavior can be restored by calling ``enableWiFiAtBootTime()`` from
5959
anywhere in the code (it is a weak void function intended to play with the
6060
linker).
6161

6262
.. code:: cpp
6363
6464
void setup () {
6565
#ifdef WIFI_IS_OFF_AT_BOOT
66-
enableWiFiAtBoot(); // can be called from anywhere with the same effect
66+
enableWiFiAtBootTime(); // can be called from anywhere with the same effect
6767
#endif
6868
....
6969
}

0 commit comments

Comments
 (0)