Fix ESP32
This commit is contained in:
parent
d13d60d752
commit
937f404583
@ -37,6 +37,7 @@
|
||||
#include <Arduino.h>
|
||||
#ifdef ARDUINO_ARCH_ESP32
|
||||
#include <WiFi.h>
|
||||
#include "esp_wifi.h"
|
||||
#include <ESPmDNS.h>
|
||||
#include <AsyncTCP.h>
|
||||
#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";
|
||||
|
||||
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user