This commit is contained in:
Tomasz Duda 2024-05-06 20:48:25 +02:00
parent 5796b0e4bf
commit afb9152cc0
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,4 @@
#ifdef USE_ZEPHYR
#include "ota_component.h"
#include "esphome/core/defines.h"
#include "esphome/core/log.h"
@ -115,3 +116,4 @@ void OTAComponent::update_pending() {
} // namespace zephyr_ota_mcumgr
} // namespace esphome
#endif

View File

@ -1,5 +1,5 @@
#pragma once
#ifdef USE_ZEPHYR
#include "esphome/components/ota/ota_component.h"
struct img_mgmt_upload_check;
@ -26,3 +26,4 @@ class OTAComponent : public ota::OTAComponent {
} // namespace zephyr_ota_mcumgr
} // namespace esphome
#endif