fix: drop ESP32 support for now

This commit is contained in:
2020-02-21 14:35:51 +01:00
parent 9dac6a3e13
commit 5de626ead1
3 changed files with 11 additions and 12 deletions

3
.gitignore vendored
View File

@@ -1,5 +1,4 @@
.pioenvs .pio
.piolibdeps
.vscode/.browse.c_cpp.db* .vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json .vscode/c_cpp_properties.json
.vscode/launch.json .vscode/launch.json

View File

@@ -1,7 +1,7 @@
{ {
// See http://go.microsoft.com/fwlink/?LinkId=827846 // See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format // for the documentation about the extensions.json format
"recommendations": [ "recommendations": [
"platformio.platformio-ide" "platformio.platformio-ide"
] ]
} }

View File

@@ -4,11 +4,11 @@
#include <Arduino.h> #include <Arduino.h>
#include <ESPAsyncWebServer.h> #include <ESPAsyncWebServer.h>
#include <AsyncWebSocket.h> #include <AsyncWebSocket.h>
#ifdef ESP32 //#ifdef ESP32
#include <AsyncTCP.h> //#include <AsyncTCP.h>
#elif defined(ESP8266) //#elif defined(ESP8266)
#include <ESPAsyncTCP.h> #include <ESPAsyncTCP.h>
#endif //#endif
class WebUtils class WebUtils
{ {