ble/gatt-service: fix complie

This commit is contained in:
Milanka Ringwald 2021-06-07 17:48:48 +02:00
parent af7704047a
commit a0d1b860d4

View File

@ -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) {