Merge branch 'devirtualize-ota-backend' into integration

This commit is contained in:
J. Nick Koston
2026-03-04 10:10:53 -10:00
+8 -2
View File
@@ -2,6 +2,8 @@
#include "ota_backend.h"
#include <memory>
#ifdef USE_ESP8266
#include "ota_backend_esp8266.h"
#elif defined(USE_ESP32)
@@ -12,6 +14,10 @@
#include "ota_backend_arduino_libretiny.h"
#elif defined(USE_HOST)
#include "ota_backend_host.h"
#else
// Stub for static analysis when no platform is defined
namespace esphome::ota {
struct StubOTABackend {};
std::unique_ptr<StubOTABackend> make_ota_backend();
} // namespace esphome::ota
#endif
namespace esphome::ota {} // namespace esphome::ota