1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-25 22:52:20 +01:00

Do not build mDNS when mDNS is disabled via yaml (#6979)

This commit is contained in:
Markus
2024-06-25 10:05:37 +02:00
committed by GitHub
parent 8a25bedaf9
commit c9a0daf4b6
8 changed files with 19 additions and 10 deletions

View File

@@ -1,4 +1,5 @@
#ifdef USE_ESP32
#include "esphome/core/defines.h"
#if defined(USE_ESP32) && defined(USE_MDNS)
#include <mdns.h>
#include <cstring>