Commit 88944cef authored by Eric Duminil's avatar Eric Duminil
Browse files

WiFi is off by default at boot

parent fba01128
Pipeline #5747 failed with stage
......@@ -4,13 +4,6 @@
#if defined(ESP8266)
# include <ESP8266WiFi.h> // required to get MAC address
const char *current_board = "ESP8266";
# if !defined(AMPEL_WIFI)
void preinit() {
// WiFi would be initialized otherwise (on ESP8266), even if unused.
// see https://github.com/esp8266/Arduino/issues/2111#issuecomment-224251391
ESP8266WiFiClass::preinitWiFiOff();
}
# endif
#elif defined(ESP32)
# include <WiFi.h> // required to get MAC address
const char *current_board = "ESP32";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment