mirror of
https://github.com/esphome/esphome.git
synced 2026-09-16 09:38:42 +00:00
Update esphome/components/esp32_ble_tracker/esp32_ble_tracker.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
co-authored by
Copilot
parent
dc9718b167
commit
217808b0fc
@@ -99,7 +99,8 @@ void ESP32BLETracker::on_ota_global_state(ota::OTAState state, float progress, u
|
||||
if (this->scan_continuous_before_ota_) {
|
||||
this->scan_continuous_before_ota_ = false;
|
||||
this->scan_continuous_ = true;
|
||||
this->start_scan();
|
||||
// Do not restart scanning immediately here; allow loop() to
|
||||
// safely restart scanning once the scanner and all clients are idle.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user