mirror of
https://github.com/esphome/esphome.git
synced 2025-08-01 07:57:47 +00:00
preen
This commit is contained in:
parent
2c63d5c7ce
commit
6b8da2f0ca
@ -199,6 +199,11 @@ void BluetoothProxy::loop() {
|
|||||||
return;
|
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
|
// Flush any pending BLE advertisements that have been accumulated but not yet sent
|
||||||
uint32_t now = App.get_loop_component_start_time();
|
uint32_t now = App.get_loop_component_start_time();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user