fix ESP32 IP KNX Demo (#139)

This commit is contained in:
croghostrider 2021-06-02 17:55:07 +02:00 committed by GitHub
parent 14462d410d
commit 2450c1c458
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,7 @@
#include <Arduino.h>
#include <knx.h> #include <knx.h>
#ifdef ARDUINO_ARCH_ESP8266 #if defined ARDUINO_ARCH_ESP8266 || defined ARDUINO_ARCH_ESP32
#include <WiFiManager.h> #include <WiFiManager.h>
#endif #endif
@ -59,7 +60,7 @@ void setup()
randomSeed(millis()); randomSeed(millis());
#ifdef ARDUINO_ARCH_ESP8266 #if defined ARDUINO_ARCH_ESP8266 || defined ARDUINO_ARCH_ESP32
WiFiManager wifiManager; WiFiManager wifiManager;
wifiManager.autoConnect("knx-demo"); wifiManager.autoConnect("knx-demo");
#endif #endif

View File

@ -61,6 +61,7 @@ platform = espressif32
board = esp32dev board = esp32dev
framework = arduino framework = arduino
lib_deps = lib_deps =
https://github.com/tzapu/WiFiManager.git
knx knx
build_flags = build_flags =

View File

@ -79,6 +79,7 @@ framework = arduino
lib_extra_dirs = ../../../ lib_extra_dirs = ../../../
lib_deps = lib_deps =
https://github.com/tzapu/WiFiManager.git
knx knx
build_flags = build_flags =