mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-14 10:21:49 +00:00
gatt_client: don't emit event on error from api function gatt_client_discover_characteristic_descriptors
This commit is contained in:
parent
4740230f55
commit
7045d3c050
@ -2216,7 +2216,6 @@ uint8_t gatt_client_discover_characteristic_descriptors(btstack_packet_handler_t
|
||||
}
|
||||
|
||||
if (characteristic->value_handle == characteristic->end_handle){
|
||||
emit_gatt_complete_event(gatt_client, ATT_ERROR_SUCCESS);
|
||||
return ERROR_CODE_SUCCESS;
|
||||
}
|
||||
gatt_client->callback = callback;
|
||||
|
Loading…
x
Reference in New Issue
Block a user