Skip to content

Commit 8c60a28

Browse files
authored
Rename LibreTuya to LibreTiny (#23)
1 parent 4524dca commit 8c60a28

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

library.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"version": "3.0.0",
1616
"license": "LGPL-3.0",
1717
"frameworks": "arduino",
18-
"platforms": ["espressif8266", "espressif32", "libretuya"],
18+
"platforms": ["espressif8266", "espressif32", "libretiny"],
1919
"dependencies": [
2020
{
2121
"owner": "ottowinter",
@@ -25,7 +25,7 @@
2525
{
2626
"owner": "esphome",
2727
"name": "AsyncTCP-esphome",
28-
"platforms": ["espressif32", "libretuya"]
28+
"platforms": ["espressif32", "libretiny"]
2929
},
3030
{
3131
"name": "Hash",

src/AsyncEventSource.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
#include <Arduino.h>
2424
#include <Arduino.h>
25-
#if defined(ESP32) || defined(LIBRETUYA)
25+
#if defined(ESP32) || defined(LIBRETINY)
2626
#include <AsyncTCP.h>
2727
#else
2828
#include <ESPAsyncTCP.h>
@@ -43,7 +43,7 @@
4343
#endif
4444
#endif
4545

46-
#if defined(ESP32) || defined(LIBRETUYA)
46+
#if defined(ESP32) || defined(LIBRETINY)
4747
#define DEFAULT_MAX_SSE_CLIENTS 8
4848
#else
4949
#define DEFAULT_MAX_SSE_CLIENTS 4

src/AsyncWebSocket.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#define ASYNCWEBSOCKET_H_
2323

2424
#include <Arduino.h>
25-
#if defined(ESP32) || defined(LIBRETUYA)
25+
#if defined(ESP32) || defined(LIBRETINY)
2626
#include <AsyncTCP.h>
2727
#ifndef WS_MAX_QUEUED_MESSAGES
2828
#define WS_MAX_QUEUED_MESSAGES 32
@@ -44,7 +44,7 @@
4444
#endif
4545
#endif
4646

47-
#if defined(ESP32) || defined(LIBRETUYA)
47+
#if defined(ESP32) || defined(LIBRETINY)
4848
#define DEFAULT_MAX_WS_CLIENTS 8
4949
#else
5050
#define DEFAULT_MAX_WS_CLIENTS 4

src/AsyncWebSynchronization.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
#include <ESPAsyncWebServer.h>
77

8-
#if defined(ESP32) || (defined(LIBRETUYA) && LT_HAS_FREERTOS)
8+
#if defined(ESP32) || (defined(LIBRETINY) && LT_HAS_FREERTOS)
99

1010
// This is the ESP32 version of the Sync Lock, using the FreeRTOS Semaphore
1111
class AsyncWebLock
@@ -84,4 +84,4 @@ class AsyncWebLockGuard
8484
}
8585
};
8686

87-
#endif // ASYNCWEBSYNCHRONIZATION_H_
87+
#endif // ASYNCWEBSYNCHRONIZATION_H_

src/ESPAsyncWebServer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
#include "StringArray.h"
3030

31-
#if defined(ESP32) || defined(LIBRETUYA)
31+
#if defined(ESP32) || defined(LIBRETINY)
3232
#include <WiFi.h>
3333
#include <AsyncTCP.h>
3434
#elif defined(ESP8266)

0 commit comments

Comments
 (0)