mirror of
https://github.com/esphome/esphome.git
synced 2025-09-06 05:12:21 +01:00
Do not build mDNS when mDNS is disabled via yaml (#6979)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#if defined(USE_ESP8266) && defined(USE_ARDUINO)
|
||||
#include "esphome/core/defines.h"
|
||||
#if defined(USE_ESP8266) && defined(USE_ARDUINO) && defined(USE_MDNS)
|
||||
|
||||
#include <ESP8266mDNS.h>
|
||||
#include "esphome/components/network/ip_address.h"
|
||||
|
Reference in New Issue
Block a user