1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

WiFi off a boot: document a linker error when user wants to use wifi without including ESP8266WiFi.h (#7990)

This commit is contained in:
david gauchard 2021-04-18 09:15:42 +02:00 committed by GitHub
parent ae359cc5f6
commit b933e3d283
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,6 +61,8 @@ linker).
.. code:: cpp
#include <ESP8266WiFi.h> // necessary to avoid a linker error
void setup () {
#ifdef WIFI_IS_OFF_AT_BOOT
enableWiFiAtBootTime(); // can be called from anywhere with the same effect