1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-09 21:33:48 +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_RP2040
#include "esphome/core/defines.h"
#if defined(USE_RP2040) && defined(USE_MDNS)
#include "esphome/components/network/ip_address.h"
#include "esphome/components/network/util.h"