This commit is contained in:
J. Nick Koston
2025-11-23 21:52:02 -06:00
parent fa299eed58
commit 792a2b1ee1
6 changed files with 6 additions and 6 deletions

View File

@@ -70,7 +70,7 @@ class MDNSComponent : public Component {
protected:
/// Common setup logic called by all platform-specific setup() implementations
void on_setup() {
void on_setup_() {
#ifdef USE_API
// Populate MAC address buffer once during setup
get_mac_address_into_buffer(std::span<char, 13>(this->mac_address_));

View File

@@ -12,7 +12,7 @@ namespace esphome::mdns {
static const char *const TAG = "mdns";
void MDNSComponent::setup() {
this->on_setup();
this->on_setup_();
#ifdef USE_MDNS_STORE_SERVICES
const auto &services = this->services_;

View File

@@ -12,7 +12,7 @@
namespace esphome::mdns {
void MDNSComponent::setup() {
this->on_setup();
this->on_setup_();
#ifdef USE_MDNS_STORE_SERVICES
const auto &services = this->services_;

View File

@@ -9,7 +9,7 @@
namespace esphome::mdns {
void MDNSComponent::setup() {
this->on_setup();
this->on_setup_();
// Host platform doesn't have actual mDNS implementation
}

View File

@@ -12,7 +12,7 @@
namespace esphome::mdns {
void MDNSComponent::setup() {
this->on_setup();
this->on_setup_();
#ifdef USE_MDNS_STORE_SERVICES
const auto &services = this->services_;

View File

@@ -12,7 +12,7 @@
namespace esphome::mdns {
void MDNSComponent::setup() {
this->on_setup();
this->on_setup_();
#ifdef USE_MDNS_STORE_SERVICES
const auto &services = this->services_;