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 };