mirror of
https://github.com/esphome/esphome.git
synced 2025-10-10 13:53:49 +01:00
preen
This commit is contained in:
@@ -39,7 +39,7 @@ class MDNSComponent : public Component {
|
||||
float get_setup_priority() const override { return setup_priority::AFTER_CONNECTION; }
|
||||
|
||||
#ifdef USE_MDNS_EXTRA_SERVICES
|
||||
void add_extra_service(MDNSService service) { this->services_.push_back(std::move(service)); }
|
||||
void add_extra_service(MDNSService service) { this->services_[this->services_.count()++] = std::move(service); }
|
||||
#endif
|
||||
|
||||
const StaticVector<MDNSService, MDNS_SERVICE_COUNT> &get_services() const { return this->services_; }
|
||||
|
Reference in New Issue
Block a user