1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-20 20:22:27 +01:00

fix error

This commit is contained in:
J. Nick Koston
2025-06-11 13:16:44 -05:00
parent 9686c7babe
commit 2cbb5c7d8e

View File

@@ -173,9 +173,9 @@ class BLEEvent {
esp_gap_ble_cb_event_t gap_event; esp_gap_ble_cb_event_t gap_event;
union { union {
BLEScanResult scan_result; // 73 bytes 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 // 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; esp_bt_status_t status;
} scan_complete; // 1 byte } scan_complete; // 1 byte
}; };