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:
parent
ae359cc5f6
commit
b933e3d283
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user