mirror of
https://github.com/me-no-dev/ESPAsyncWebServer.git
synced 2026-05-04 20:04:18 +02:00
Fix Travis builds and add build for ESP8266 (#586)
* Fix Travis builds and add build for ESP8266
This commit is contained in:
@@ -6,8 +6,13 @@
|
||||
//
|
||||
|
||||
#include <Arduino.h>
|
||||
#ifdef ESP32
|
||||
#include <WiFi.h>
|
||||
#include <AsyncTCP.h>
|
||||
#elif defined(ESP8266)
|
||||
#include <ESP8266WiFi.h>
|
||||
#include <ESPAsyncTCP.h>
|
||||
#endif
|
||||
#include <ESPAsyncWebServer.h>
|
||||
|
||||
AsyncWebServer server(80);
|
||||
|
||||
Reference in New Issue
Block a user