Skip to content

Commit

Permalink
Fix ESP32
Browse files Browse the repository at this point in the history
  • Loading branch information
Aircoookie committed Oct 25, 2019
1 parent d13d60d commit 937f404
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wled00/wled00.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -99,7 +100,7 @@


//version code in format yymmddb (b = daily build)
#define VERSION 1910251
#define VERSION 1910252
char versionString[] = "0.8.6";


Expand Down
5 changes: 5 additions & 0 deletions wled00/wled05_init.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 937f404

Please sign in to comment.