mirror of
https://github.com/esphome/esphome.git
synced 2025-10-09 21:33:48 +01:00
preen
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user