mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-16 08:42:28 +00:00
device_information_service_server: fix compile warning
This commit is contained in:
parent
00e061db23
commit
e86f2b509d
@ -118,7 +118,8 @@ void device_information_service_server_init(void){
|
|||||||
uint16_t start_handle;
|
uint16_t start_handle;
|
||||||
uint16_t end_handle;
|
uint16_t end_handle;
|
||||||
int service_found = gatt_server_get_get_handle_range_for_service_with_uuid16(ORG_BLUETOOTH_SERVICE_DEVICE_INFORMATION, &start_handle, &end_handle);
|
int service_found = gatt_server_get_get_handle_range_for_service_with_uuid16(ORG_BLUETOOTH_SERVICE_DEVICE_INFORMATION, &start_handle, &end_handle);
|
||||||
btstack_assert(service_found);
|
btstack_assert(service_found != 0);
|
||||||
|
UNUSED(service_found);
|
||||||
|
|
||||||
// set length for fixed size characateristics
|
// set length for fixed size characateristics
|
||||||
device_information_fields[SYSTEM_ID].data = device_information_system_id;
|
device_information_fields[SYSTEM_ID].data = device_information_system_id;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user