LennartHennigs / ESPTelnet

ESP library that allows you to setup a telnet server for debugging.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webserver.h conflicts with ESPASYNC

MichielfromNL opened this issue · comments

In the ESP2 include, Webserver.h is not really needed
It conflicts with definitions if ESPAsyncwebserver is used in which case the sketch doesn't compile

#if defined(ARDUINO_ARCH_ESP32) #include <WiFi.h> #include <WebServer.h>#elif defined(ARDUINO_ARCH_ESP8266)

replace by:

#if defined(ARDUINO_ARCH_ESP32) #include <WiFi.h> >#elif defined(ARDUINO_ARCH_ESP8266)

Hey,
Thanks for pointing this out. Will fix it.
Cheers.