mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-14 10:21:49 +00:00
battery_service_server: fix warning
This commit is contained in:
parent
e034b92c7e
commit
ad5fb1efe5
@ -62,6 +62,7 @@ static uint16_t battery_value_handle_client_configuration;
|
||||
|
||||
|
||||
static uint16_t battery_service_read_callback(hci_con_handle_t con_handle, uint16_t attribute_handle, uint16_t offset, uint8_t * buffer, uint16_t buffer_size){
|
||||
UNUSED(con_handle);
|
||||
UNUSED(offset);
|
||||
UNUSED(buffer_size);
|
||||
|
||||
@ -81,7 +82,6 @@ static uint16_t battery_service_read_callback(hci_con_handle_t con_handle, uint1
|
||||
}
|
||||
|
||||
static int battery_service_write_callback(hci_con_handle_t con_handle, uint16_t attribute_handle, uint16_t transaction_mode, uint16_t offset, uint8_t *buffer, uint16_t buffer_size){
|
||||
UNUSED(con_handle);
|
||||
UNUSED(transaction_mode);
|
||||
UNUSED(offset);
|
||||
UNUSED(buffer_size);
|
||||
|
Loading…
x
Reference in New Issue
Block a user