Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: tomaszduda23 <tomaszduda23@gmail.com>
18 lines
402 B
C++
18 lines
402 B
C++
#include "esphome/core/defines.h"
|
|
#if defined(USE_ZEPHYR) && defined(USE_MDNS)
|
|
|
|
#include "mdns_component.h"
|
|
#include "esphome/core/log.h"
|
|
|
|
namespace esphome::mdns {
|
|
|
|
static const char *const TAG = "mdns.zephyr";
|
|
|
|
void MDNSComponent::setup() { ESP_LOGW(TAG, "mDNS is not implemented for Zephyr"); }
|
|
|
|
void MDNSComponent::on_shutdown() {}
|
|
|
|
} // namespace esphome::mdns
|
|
|
|
#endif // USE_ZEPHYR && USE_MDNS
|