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:
@@ -1,4 +1,5 @@
|
||||
#ifdef USE_ESP32
|
||||
#include "esphome/core/defines.h"
|
||||
#if defined(USE_ESP32) && defined(USE_MDNS)
|
||||
|
||||
#include <mdns.h>
|
||||
#include <cstring>
|
||||
|
Reference in New Issue
Block a user