Commit e1f39eb4 authored by edoe's avatar edoe
Browse files

Disable Wifi when AMPEL_WIFI is not defined

parent b48d4d18
......@@ -55,6 +55,18 @@
* and define your credentials and parameters in 'config.h'.
*/
/*****************************************************************
* PreInit *
*****************************************************************/
void preinit() {
#ifndef AMPEL_WIFI
// Disable wifi as default
ESP8266WiFiClass::preinitWiFiOff();
#endif
}
/*****************************************************************
* Setup *
*****************************************************************/
......
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