mirror of
https://github.com/oxan/esphome-stream-server.git
synced 2026-08-26 21:37:16 +00:00
Include correct AsyncTCP header on ESP-32
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user