forked from me-no-dev/ESPAsyncWebServer
make both examples compile under travis
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
#ifdef ESP8266
|
||||
void begin(){}
|
||||
void loop(){}
|
||||
#else
|
||||
#include <ESP31BWiFi.h>
|
||||
#include <ESPAsyncTCP.h>
|
||||
#include <ESPAsyncWebServer.h>
|
||||
@@ -196,4 +200,4 @@ void setup(){
|
||||
}
|
||||
|
||||
void loop(){}
|
||||
|
||||
#endif
|
||||
|
@@ -1,3 +1,7 @@
|
||||
#ifdef ESP31B
|
||||
void begin(){}
|
||||
void loop(){}
|
||||
#else
|
||||
#include <ESP8266WiFi.h>
|
||||
#include <ESP8266mDNS.h>
|
||||
#include <ArduinoOTA.h>
|
||||
@@ -220,4 +224,4 @@ void setup(){
|
||||
void loop(){
|
||||
ArduinoOTA.handle();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user