diff --git a/wled00/wled00.ino b/wled00/wled00.ino index a08801f5..19835f28 100644 --- a/wled00/wled00.ino +++ b/wled00/wled00.ino @@ -37,6 +37,7 @@ #include #ifdef ARDUINO_ARCH_ESP32 #include + #include "esp_wifi.h" #include #include #include "SPIFFS.h" @@ -99,7 +100,7 @@ //version code in format yymmddb (b = daily build) -#define VERSION 1910251 +#define VERSION 1910252 char versionString[] = "0.8.6"; diff --git a/wled00/wled05_init.ino b/wled00/wled05_init.ino index 53ec2cd4..abf49639 100644 --- a/wled00/wled05_init.ino +++ b/wled00/wled05_init.ino @@ -205,7 +205,12 @@ void initInterfaces() { if (alexaEnabled) alexaInit(); #ifndef WLED_DISABLE_OTA + #ifdef ESP8266 if (aOtaEnabled) ArduinoOTA.begin(false); + #else + ArduinoOTA.setMdnsEnabled(false); + if (aOtaEnabled) ArduinoOTA.begin(); + #endif #endif strip.service();