1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-09 21:33:48 +01:00

update comment

This commit is contained in:
J. Nick Koston
2025-10-01 23:05:30 +02:00
parent de2838fa66
commit 636d1e16f2

View File

@@ -143,7 +143,7 @@ void OpenThreadSrpComponent::setup() {
return;
}
// Use mdns services directly - they remain valid for the lifetime of the mdns component
// Get mdns services and copy their data (strings are copied with strdup below)
const auto &mdns_services = this->mdns_->get_services();
uint8_t mdns_count = this->mdns_->get_services_count();
ESP_LOGD(TAG, "Setting up SRP services. count = %d\n", mdns_count);