kopia lustrzana https://github.com/Aircoookie/WLED
Fix ESP32
rodzic
d13d60d752
commit
937f404583
|
@ -37,6 +37,7 @@
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#ifdef ARDUINO_ARCH_ESP32
|
#ifdef ARDUINO_ARCH_ESP32
|
||||||
#include <WiFi.h>
|
#include <WiFi.h>
|
||||||
|
#include "esp_wifi.h"
|
||||||
#include <ESPmDNS.h>
|
#include <ESPmDNS.h>
|
||||||
#include <AsyncTCP.h>
|
#include <AsyncTCP.h>
|
||||||
#include "SPIFFS.h"
|
#include "SPIFFS.h"
|
||||||
|
@ -99,7 +100,7 @@
|
||||||
|
|
||||||
|
|
||||||
//version code in format yymmddb (b = daily build)
|
//version code in format yymmddb (b = daily build)
|
||||||
#define VERSION 1910251
|
#define VERSION 1910252
|
||||||
char versionString[] = "0.8.6";
|
char versionString[] = "0.8.6";
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -205,7 +205,12 @@ void initInterfaces() {
|
||||||
if (alexaEnabled) alexaInit();
|
if (alexaEnabled) alexaInit();
|
||||||
|
|
||||||
#ifndef WLED_DISABLE_OTA
|
#ifndef WLED_DISABLE_OTA
|
||||||
|
#ifdef ESP8266
|
||||||
if (aOtaEnabled) ArduinoOTA.begin(false);
|
if (aOtaEnabled) ArduinoOTA.begin(false);
|
||||||
|
#else
|
||||||
|
ArduinoOTA.setMdnsEnabled(false);
|
||||||
|
if (aOtaEnabled) ArduinoOTA.begin();
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
strip.service();
|
strip.service();
|
||||||
|
|
Ładowanie…
Reference in New Issue