From 5167184cc7481ecf3730be6d226f611aecd92130 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 5 Jul 2025 22:18:20 -0500 Subject: [PATCH] merge --- esphome/components/bluetooth_proxy/bluetooth_proxy.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/esphome/components/bluetooth_proxy/bluetooth_proxy.cpp b/esphome/components/bluetooth_proxy/bluetooth_proxy.cpp index ce820694c4..fee26cc897 100644 --- a/esphome/components/bluetooth_proxy/bluetooth_proxy.cpp +++ b/esphome/components/bluetooth_proxy/bluetooth_proxy.cpp @@ -58,10 +58,6 @@ bool BluetoothProxy::parse_device(const esp32_ble_tracker::ESPBTDevice &device) // 16 advertisements × 80 bytes (worst case) = 1280 bytes out of ~1320 bytes usable payload // This achieves ~97% WiFi MTU utilization while staying under the limit static constexpr size_t FLUSH_BATCH_SIZE = 16; -static std::vector &get_batch_buffer() { - static std::vector batch_buffer; - return batch_buffer; -} // Global batch buffer to avoid guard variable (saves 8 bytes) // This is initialized at program startup before any threads