mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-14 10:21:49 +00:00
gatt-service/hids-client: use gatt_client_att_status_to_error_code
This commit is contained in:
parent
67e0500dd3
commit
45cccc7d14
@ -1213,7 +1213,7 @@ static void handle_gatt_client_event(uint8_t packet_type, uint16_t channel, uint
|
||||
client = hids_get_client_for_con_handle(gatt_event_query_complete_get_handle(packet));
|
||||
if (client == NULL) break;
|
||||
|
||||
status = gatt_service_client_att_status_to_error_code(gatt_event_query_complete_get_att_status(packet));
|
||||
status = gatt_client_att_status_to_error_code(gatt_event_query_complete_get_att_status(packet));
|
||||
|
||||
switch (client->state){
|
||||
case HIDS_CLIENT_STATE_W4_SERVICE_RESULT:
|
||||
|
Loading…
x
Reference in New Issue
Block a user