mirror of
https://github.com/esphome/esphome.git
synced 2026-02-21 00:45:35 -07:00
Merge branch 'mdns_mac_storage_reduce_ram' into integration
This commit is contained in:
@@ -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_));
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
namespace esphome::mdns {
|
||||
|
||||
void MDNSComponent::setup() {
|
||||
this->on_setup();
|
||||
this->on_setup_();
|
||||
// Host platform doesn't have actual mDNS implementation
|
||||
}
|
||||
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user