mirror of
https://github.com/esphome/esphome.git
synced 2026-09-30 16:30:22 +00:00
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
co-authored by
Copilot Autofix powered by AI
parent
2fe09b1e94
commit
9242895f87
@@ -43,7 +43,7 @@ void BLEServer::loop() {
|
||||
if (service->is_created()) {
|
||||
service->start(); // Needs to be called once per characteristic in the service
|
||||
}
|
||||
// Remove services that have started or are starting
|
||||
// Keep services still pending (drop those that are starting or running)
|
||||
if (!service->is_starting() && !service->is_running()) {
|
||||
this->services_to_start_[write_idx++] = service;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user