mirror of
https://github.com/esphome/esphome.git
synced 2025-07-31 07:36:35 +00:00
preen
This commit is contained in:
parent
2c63d5c7ce
commit
6b8da2f0ca
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user