1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-29 06:04:01 +00:00

[code-quality] fix clang-tidy mqtt (#7253)

This commit is contained in:
tomaszduda23
2024-08-13 21:56:09 +02:00
committed by GitHub
parent 4bd7ba0d30
commit f81ce2c707
5 changed files with 16 additions and 5 deletions

View File

@@ -1,7 +1,9 @@
#include "mqtt_backend_esp32.h"
#ifdef USE_MQTT
#ifdef USE_ESP32
#include <string>
#include "mqtt_backend_esp32.h"
#include "esphome/core/log.h"
#include "esphome/core/helpers.h"
@@ -189,3 +191,4 @@ void MQTTBackendESP32::mqtt_event_handler(void *handler_args, esp_event_base_t b
} // namespace mqtt
} // namespace esphome
#endif // USE_ESP32
#endif