[esp32_ble_server] Fix wrong union member in STOP_EVT handler (#15239)

This commit is contained in:
Jonathan Swoboda
2026-03-27 08:36:16 -10:00
committed by GitHub
parent 810c046cc6
commit 0a607b9c93
@@ -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;