mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-01 01:13:23 +00:00
ble/gatt-service: fix complie
This commit is contained in:
parent
af7704047a
commit
a0d1b860d4
@ -568,7 +568,6 @@ uint8_t battery_service_client_read_battery_level(uint16_t battery_service_cid,
|
||||
return ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER;
|
||||
}
|
||||
if (client->state != BATTERY_SERVICE_CLIENT_STATE_CONNECTED) {
|
||||
printf("client state %d\n", client->state);
|
||||
return GATT_CLIENT_IN_WRONG_STATE;
|
||||
}
|
||||
if (service_index >= client->num_instances) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user