Skip to content

Commit b01d236

Browse files
committed
Fix Arduino Emulator example
1 parent 5b9cfb3 commit b01d236

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

examples/arduino_emulator/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include <Arduino.h>
2+
#include <AsyncTCP.h>
23
#include <ESPAsyncWebServer.h>
34

45
static AsyncWebServer server(8080);
@@ -12,6 +13,7 @@ void setup() {
1213
request->send(404, "text/plain", "Not found\n");
1314
});
1415

16+
PosixAsyncTCPManager::getInstance().begin();
1517
server.begin();
1618
}
1719

0 commit comments

Comments
 (0)