From 14895adf479b53fb150e3245bc0ac0d26173520e Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 14 Aug 2025 23:38:25 -0500 Subject: [PATCH 1/3] Update esphome/components/esp32_ble/ble_event.h Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- esphome/components/esp32_ble/ble_event.h | 1 - 1 file changed, 1 deletion(-) diff --git a/esphome/components/esp32_ble/ble_event.h b/esphome/components/esp32_ble/ble_event.h index bb551bd867..fb3b315fe8 100644 --- a/esphome/components/esp32_ble/ble_event.h +++ b/esphome/components/esp32_ble/ble_event.h @@ -6,7 +6,6 @@ #include // for memcpy #include #include // for std::unique_ptr - #include #include #include From ce6d71e942dcc05963e05d9cae51d31d275248fa Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 14 Aug 2025 23:38:54 -0500 Subject: [PATCH 2/3] Update esphome/components/esp32_ble/ble_event.h --- esphome/components/esp32_ble/ble_event.h | 1 - 1 file changed, 1 deletion(-) diff --git a/esphome/components/esp32_ble/ble_event.h b/esphome/components/esp32_ble/ble_event.h index fb3b315fe8..20e334cd6d 100644 --- a/esphome/components/esp32_ble/ble_event.h +++ b/esphome/components/esp32_ble/ble_event.h @@ -5,7 +5,6 @@ #include // for offsetof #include // for memcpy #include -#include // for std::unique_ptr #include #include #include From c32584d48ee206b3d05562a9219e0481fb09bfec Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 14 Aug 2025 23:39:29 -0500 Subject: [PATCH 3/3] preen --- esphome/components/esp32_ble/ble_event.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/esphome/components/esp32_ble/ble_event.h b/esphome/components/esp32_ble/ble_event.h index 20e334cd6d..2c0ab1d34e 100644 --- a/esphome/components/esp32_ble/ble_event.h +++ b/esphome/components/esp32_ble/ble_event.h @@ -4,7 +4,6 @@ #include // for offsetof #include // for memcpy -#include #include #include #include @@ -64,7 +63,7 @@ static_assert(offsetof(esp_ble_gap_cb_param_t, read_rssi_cmpl.remote_addr) == si // Received GAP, GATTC and GATTS events are only queued, and get processed in the main loop(). // This class stores each event with minimal memory usage. -// GAP events (99% of traffic) don't have the vector overhead. +// GAP events (99% of traffic) don't have the heap allocation overhead. // GATTC/GATTS events use heap allocation for their param and data. // // Event flow: