Include correct AsyncTCP header on ESP-32

This commit is contained in:
Oxan van Leeuwen
2020-10-23 15:52:56 +02:00
parent 7b7897b199
commit 65ab7895af
+5
View File
@@ -22,7 +22,12 @@
#include <string>
#include <vector>
#include <Stream.h>
#ifdef ARDUINO_ARCH_ESP8266
#include <ESPAsyncTCP.h>
#else
#include <AsyncTCP.h>
#endif
class StreamServerComponent : public esphome::Component {
public: