mirror of
https://github.com/me-no-dev/ESPAsyncWebServer.git
synced 2025-09-01 10:40:55 +02:00
make the build pass on esp8266
This commit is contained in:
@@ -19,7 +19,9 @@
|
|||||||
*/
|
*/
|
||||||
#include "Arduino.h"
|
#include "Arduino.h"
|
||||||
#include "AsyncEventSource.h"
|
#include "AsyncEventSource.h"
|
||||||
#include <rom/ets_sys.h>
|
#ifndef ESP8266
|
||||||
|
#include <rom/ets_sys.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
static String generateEventMessage(const char *message, const char *event, uint32_t id, uint32_t reconnect){
|
static String generateEventMessage(const char *message, const char *event, uint32_t id, uint32_t reconnect){
|
||||||
String ev;
|
String ev;
|
||||||
|
Reference in New Issue
Block a user