From 2cbb5c7d8e860ad44c53df9976c53c87b0d60774 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 11 Jun 2025 13:16:44 -0500 Subject: [PATCH] fix error --- esphome/components/esp32_ble/ble_event.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/esp32_ble/ble_event.h b/esphome/components/esp32_ble/ble_event.h index 433eb4feda..effcb43aea 100644 --- a/esphome/components/esp32_ble/ble_event.h +++ b/esphome/components/esp32_ble/ble_event.h @@ -173,9 +173,9 @@ class BLEEvent { esp_gap_ble_cb_event_t gap_event; union { BLEScanResult scan_result; // 73 bytes - // This struct matches ESP-IDF's scan complete event structures + // This matches ESP-IDF's scan complete event structures // All three (scan_param_cmpl, scan_start_cmpl, scan_stop_cmpl) have identical layout - struct ble_scan_complete_evt_param { + struct { esp_bt_status_t status; } scan_complete; // 1 byte };