From 6abe266ba01fd2c2bf6f3f81576d065905a5a237 Mon Sep 17 00:00:00 2001 From: Pablo2048 Date: Sat, 29 Mar 2025 16:57:31 +0100 Subject: [PATCH] Attempt to fix compile problem on ESP8266 with AsyncJson (need to check on ESP32) --- src/AsyncJson.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/AsyncJson.h b/src/AsyncJson.h index b5777d6..b12894b 100644 --- a/src/AsyncJson.h +++ b/src/AsyncJson.h @@ -4,14 +4,8 @@ #ifndef ASYNC_JSON_H_ #define ASYNC_JSON_H_ -#if __has_include("ArduinoJson.h") #include -#if ARDUINOJSON_VERSION_MAJOR >= 5 #define ASYNC_JSON_SUPPORT 1 -#else -#define ASYNC_JSON_SUPPORT 0 -#endif // ARDUINOJSON_VERSION_MAJOR >= 5 -#endif // __has_include("ArduinoJson.h") #if ASYNC_JSON_SUPPORT == 1 #include