1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-15 16:23:48 +01:00

Merge branch 'bluetooth_proxy_fixes' into integration

This commit is contained in:
J. Nick Koston
2025-07-18 16:09:47 -10:00

View File

@@ -159,6 +159,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();