1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-09 21:33:48 +01:00
This commit is contained in:
J. Nick Koston
2025-10-01 23:26:29 +02:00
parent 03c869bd43
commit 76defeac39
8 changed files with 21 additions and 38 deletions

View File

@@ -16,8 +16,7 @@ void MDNSComponent::setup() {
MDNS.begin(this->hostname_.c_str());
for (uint8_t i = 0; i < this->services_count_; i++) {
const auto &service = this->services_[i];
for (const auto &service : this->services_) {
// Strip the leading underscore from the proto and service_type. While it is
// part of the wire protocol to have an underscore, and for example ESP-IDF
// expects the underscore to be there, the ESP8266 implementation always adds