Skip to content

Commit

Permalink
Rename LibreTuya to LibreTiny (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba2k2 authored Sep 2, 2023
1 parent 4524dca commit 8c60a28
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions library.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -25,7 +25,7 @@
{
"owner": "esphome",
"name": "AsyncTCP-esphome",
"platforms": ["espressif32", "libretuya"]
"platforms": ["espressif32", "libretiny"]
},
{
"name": "Hash",
Expand Down
4 changes: 2 additions & 2 deletions src/AsyncEventSource.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#include <Arduino.h>
#include <Arduino.h>
#if defined(ESP32) || defined(LIBRETUYA)
#if defined(ESP32) || defined(LIBRETINY)
#include <AsyncTCP.h>
#else
#include <ESPAsyncTCP.h>
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/AsyncWebSocket.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#define ASYNCWEBSOCKET_H_

#include <Arduino.h>
#if defined(ESP32) || defined(LIBRETUYA)
#if defined(ESP32) || defined(LIBRETINY)
#include <AsyncTCP.h>
#ifndef WS_MAX_QUEUED_MESSAGES
#define WS_MAX_QUEUED_MESSAGES 32
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/AsyncWebSynchronization.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include <ESPAsyncWebServer.h>

#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
Expand Down Expand Up @@ -84,4 +84,4 @@ class AsyncWebLockGuard
}
};

#endif // ASYNCWEBSYNCHRONIZATION_H_
#endif // ASYNCWEBSYNCHRONIZATION_H_
2 changes: 1 addition & 1 deletion src/ESPAsyncWebServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

#include "StringArray.h"

#if defined(ESP32) || defined(LIBRETUYA)
#if defined(ESP32) || defined(LIBRETINY)
#include <WiFi.h>
#include <AsyncTCP.h>
#elif defined(ESP8266)
Expand Down

0 comments on commit 8c60a28

Please sign in to comment.