From 1ba37ca7c97d36d6cd7b3a2eaf71525ba7c4a5f2 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 21 Aug 2025 08:25:13 -0500 Subject: [PATCH] preen --- esphome/components/esp32_ble_client/ble_client_base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/esp32_ble_client/ble_client_base.cpp b/esphome/components/esp32_ble_client/ble_client_base.cpp index 040e3db613..03340a2018 100644 --- a/esphome/components/esp32_ble_client/ble_client_base.cpp +++ b/esphome/components/esp32_ble_client/ble_client_base.cpp @@ -303,7 +303,7 @@ bool BLEClientBase::gattc_event_handler(esp_gattc_cb_event_t event, esp_gatt_if_ // Service discovery period is critical - we typically have only 10s to complete // discovery before the device disconnects us. Fast connection parameters are // essential to finish service resolution in time and avoid retry loops. - if (this->connection_type_ == espbt::ConnectionType::V3_WITHOUT_CACHE) { + else if (this->connection_type_ == espbt::ConnectionType::V3_WITHOUT_CACHE) { this->set_fast_conn_params_(); } this->log_event_("Searching for services");