mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-07 05:13:31 +02:00
LibreTiny: enable MQTT, bump to v1.4.1 (#5419)
This commit is contained in:
committed by
GitHub
parent
607d0b4264
commit
2f7a378c7b
@@ -13,6 +13,8 @@
|
||||
#include "mqtt_backend_esp32.h"
|
||||
#elif defined(USE_ESP8266)
|
||||
#include "mqtt_backend_esp8266.h"
|
||||
#elif defined(USE_LIBRETINY)
|
||||
#include "mqtt_backend_libretiny.h"
|
||||
#endif
|
||||
#include "lwip/ip_addr.h"
|
||||
|
||||
@@ -300,6 +302,8 @@ class MQTTClientComponent : public Component {
|
||||
MQTTBackendESP32 mqtt_backend_;
|
||||
#elif defined(USE_ESP8266)
|
||||
MQTTBackendESP8266 mqtt_backend_;
|
||||
#elif defined(USE_LIBRETINY)
|
||||
MQTTBackendLibreTiny mqtt_backend_;
|
||||
#endif
|
||||
|
||||
MQTTClientState state_{MQTT_CLIENT_DISCONNECTED};
|
||||
|
||||
Reference in New Issue
Block a user