mirror of
https://github.com/esphome/esphome.git
synced 2026-09-22 04:28:43 +00:00
[esp32_ble_server] Fix wrong union member in STOP_EVT handler (#15239)
This commit is contained in:
@@ -159,7 +159,7 @@ void BLEService::gatts_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t g
|
||||
break;
|
||||
}
|
||||
case ESP_GATTS_STOP_EVT: {
|
||||
if (param->start.service_handle == this->handle_) {
|
||||
if (param->stop.service_handle == this->handle_) {
|
||||
this->state_ = STOPPED;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user