mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-14 01:27:41 +00:00
ancs_client, att_server, pbab_client: review UNUSED-size
This commit is contained in:
parent
1ac26e06cb
commit
7dad9ff837
@ -183,9 +183,9 @@ static void ancs_chunk_parser_handle_byte(uint8_t data){
|
||||
|
||||
static void handle_hci_event(uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t size){
|
||||
|
||||
UNUSED(packet_type);
|
||||
UNUSED(channel);
|
||||
UNUSED(size);
|
||||
UNUSED(packet_type); // ok: only hci events
|
||||
UNUSED(channel); // ok: there is no channel
|
||||
UNUSED(size); // ok: fixed format events read from HCI buffer
|
||||
|
||||
int connection_encrypted;
|
||||
|
||||
|
@ -138,8 +138,8 @@ static void att_handle_value_indication_timeout(btstack_timer_source_t *ts){
|
||||
|
||||
static void att_event_packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t size){
|
||||
|
||||
UNUSED(channel);
|
||||
UNUSED(size);
|
||||
UNUSED(channel); // ok: there is no channel
|
||||
UNUSED(size); // ok: handling own l2cap events
|
||||
|
||||
att_server_t * att_server;
|
||||
hci_con_handle_t con_handle;
|
||||
|
@ -222,8 +222,10 @@ static void pbap_handle_can_send_now(void){
|
||||
}
|
||||
|
||||
static void pbap_packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t size){
|
||||
UNUSED(channel);
|
||||
UNUSED(size);
|
||||
|
||||
UNUSED(channel); // ok: there is no channel
|
||||
UNUSED(size); // ok: handling own geop events
|
||||
|
||||
obex_iterator_t it;
|
||||
uint8_t status;
|
||||
switch (packet_type){
|
||||
|
Loading…
x
Reference in New Issue
Block a user