mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 04:20:20 +00:00
fix warnings
This commit is contained in:
parent
0df3b7185a
commit
541785435d
@ -128,7 +128,8 @@ static void att_emit_can_send_now_event(void){
|
||||
}
|
||||
|
||||
static void att_handle_value_indication_timeout(btstack_timer_source_t *ts){
|
||||
hci_con_handle_t con_handle = (hci_con_handle_t) (uintptr_t) btstack_run_loop_get_timer_context(ts);
|
||||
void * context = btstack_run_loop_get_timer_context(ts);
|
||||
hci_con_handle_t con_handle = (hci_con_handle_t) (uintptr_t) context;
|
||||
att_server_t * att_server = att_server_for_handle(con_handle);
|
||||
if (!att_server) return;
|
||||
uint16_t att_handle = att_server->value_indication_handle;
|
||||
|
@ -171,7 +171,6 @@ extern const hci_cmd_t hci_le_read_advertising_channel_tx_power;
|
||||
extern const hci_cmd_t hci_le_read_buffer_size ;
|
||||
extern const hci_cmd_t hci_le_read_channel_map;
|
||||
extern const hci_cmd_t hci_le_read_local_p256_public_key;
|
||||
extern const hci_cmd_t hci_le_read_local_p256_public_key;
|
||||
extern const hci_cmd_t hci_le_read_maximum_data_length;
|
||||
extern const hci_cmd_t hci_le_read_remote_used_features;
|
||||
extern const hci_cmd_t hci_le_read_suggested_default_data_length;
|
||||
|
Loading…
x
Reference in New Issue
Block a user