mirror of
https://github.com/esphome/esphome.git
synced 2025-09-07 13:52:20 +01:00
preen
This commit is contained in:
@@ -199,6 +199,11 @@ void BluetoothProxy::loop() {
|
||||
return;
|
||||
}
|
||||
|
||||
// Early return if no advertisements pending
|
||||
if (this->advertisement_count_ == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Flush any pending BLE advertisements that have been accumulated but not yet sent
|
||||
uint32_t now = App.get_loop_component_start_time();
|
||||
|
||||
|
Reference in New Issue
Block a user