From 8c60a28ddeef2cf2c8cc1feda5692767d2a5948a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kuba=20Szczodrzy=C5=84ski?= Date: Sat, 2 Sep 2023 21:22:59 +0200 Subject: [PATCH] Rename LibreTuya to LibreTiny (#23) --- library.json | 4 ++-- src/AsyncEventSource.h | 4 ++-- src/AsyncWebSocket.h | 4 ++-- src/AsyncWebSynchronization.h | 4 ++-- src/ESPAsyncWebServer.h | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/library.json b/library.json index 8b0e9d064..2a6b7a6a5 100644 --- a/library.json +++ b/library.json @@ -15,7 +15,7 @@ "version": "3.0.0", "license": "LGPL-3.0", "frameworks": "arduino", - "platforms": ["espressif8266", "espressif32", "libretuya"], + "platforms": ["espressif8266", "espressif32", "libretiny"], "dependencies": [ { "owner": "ottowinter", @@ -25,7 +25,7 @@ { "owner": "esphome", "name": "AsyncTCP-esphome", - "platforms": ["espressif32", "libretuya"] + "platforms": ["espressif32", "libretiny"] }, { "name": "Hash", diff --git a/src/AsyncEventSource.h b/src/AsyncEventSource.h index b0ea6ff5d..42fd1f6a0 100644 --- a/src/AsyncEventSource.h +++ b/src/AsyncEventSource.h @@ -22,7 +22,7 @@ #include #include -#if defined(ESP32) || defined(LIBRETUYA) +#if defined(ESP32) || defined(LIBRETINY) #include #else #include @@ -43,7 +43,7 @@ #endif #endif -#if defined(ESP32) || defined(LIBRETUYA) +#if defined(ESP32) || defined(LIBRETINY) #define DEFAULT_MAX_SSE_CLIENTS 8 #else #define DEFAULT_MAX_SSE_CLIENTS 4 diff --git a/src/AsyncWebSocket.h b/src/AsyncWebSocket.h index 9d137288a..d84879334 100644 --- a/src/AsyncWebSocket.h +++ b/src/AsyncWebSocket.h @@ -22,7 +22,7 @@ #define ASYNCWEBSOCKET_H_ #include -#if defined(ESP32) || defined(LIBRETUYA) +#if defined(ESP32) || defined(LIBRETINY) #include #ifndef WS_MAX_QUEUED_MESSAGES #define WS_MAX_QUEUED_MESSAGES 32 @@ -44,7 +44,7 @@ #endif #endif -#if defined(ESP32) || defined(LIBRETUYA) +#if defined(ESP32) || defined(LIBRETINY) #define DEFAULT_MAX_WS_CLIENTS 8 #else #define DEFAULT_MAX_WS_CLIENTS 4 diff --git a/src/AsyncWebSynchronization.h b/src/AsyncWebSynchronization.h index ecfc29ec2..5e45d4d57 100644 --- a/src/AsyncWebSynchronization.h +++ b/src/AsyncWebSynchronization.h @@ -5,7 +5,7 @@ #include -#if defined(ESP32) || (defined(LIBRETUYA) && LT_HAS_FREERTOS) +#if defined(ESP32) || (defined(LIBRETINY) && LT_HAS_FREERTOS) // This is the ESP32 version of the Sync Lock, using the FreeRTOS Semaphore class AsyncWebLock @@ -84,4 +84,4 @@ class AsyncWebLockGuard } }; -#endif // ASYNCWEBSYNCHRONIZATION_H_ \ No newline at end of file +#endif // ASYNCWEBSYNCHRONIZATION_H_ diff --git a/src/ESPAsyncWebServer.h b/src/ESPAsyncWebServer.h index 1e37d9037..933091562 100644 --- a/src/ESPAsyncWebServer.h +++ b/src/ESPAsyncWebServer.h @@ -28,7 +28,7 @@ #include "StringArray.h" -#if defined(ESP32) || defined(LIBRETUYA) +#if defined(ESP32) || defined(LIBRETINY) #include #include #elif defined(ESP8266)