make the build pass on esp8266

This commit is contained in:
tueddy
2024-03-15 15:44:46 +01:00
committed by Mathieu Carbou
parent 3ee4013002
commit 5862e135ac

View File

@@ -19,7 +19,9 @@
*/
#include "Arduino.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){
String ev;