mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-07 16:20:19 +00:00
pbab, hfp: fix unused warnings
This commit is contained in:
parent
c3cf4b89d4
commit
5575558ed0
@ -613,8 +613,10 @@ static int hfp_handle_failed_sco_connection(uint8_t status){
|
|||||||
|
|
||||||
|
|
||||||
void hfp_handle_hci_event(uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t size, hfp_role_t local_role){
|
void hfp_handle_hci_event(uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t size, hfp_role_t local_role){
|
||||||
|
UNUSED(packet_type);
|
||||||
UNUSED(channel); // ok: no channel
|
UNUSED(channel); // ok: no channel
|
||||||
|
UNUSED(size);
|
||||||
|
|
||||||
bd_addr_t event_addr;
|
bd_addr_t event_addr;
|
||||||
hci_con_handle_t handle;
|
hci_con_handle_t handle;
|
||||||
hfp_connection_t * hfp_connection = NULL;
|
hfp_connection_t * hfp_connection = NULL;
|
||||||
@ -743,7 +745,9 @@ void hfp_handle_hci_event(uint8_t packet_type, uint16_t channel, uint8_t *packet
|
|||||||
}
|
}
|
||||||
|
|
||||||
void hfp_handle_rfcomm_event(uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t size, hfp_role_t local_role){
|
void hfp_handle_rfcomm_event(uint8_t packet_type, uint16_t channel, uint8_t *packet, uint16_t size, hfp_role_t local_role){
|
||||||
|
UNUSED(packet_type);
|
||||||
UNUSED(channel); // ok: no channel
|
UNUSED(channel); // ok: no channel
|
||||||
|
UNUSED(size);
|
||||||
|
|
||||||
bd_addr_t event_addr;
|
bd_addr_t event_addr;
|
||||||
uint16_t rfcomm_cid;
|
uint16_t rfcomm_cid;
|
||||||
|
@ -643,6 +643,7 @@ static void pbap_client_process_vcard_listing(uint8_t *packet, uint16_t size){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
static void pbap_packet_handler_hci(uint8_t *packet, uint16_t size){
|
static void pbap_packet_handler_hci(uint8_t *packet, uint16_t size){
|
||||||
|
UNUSED(size);
|
||||||
uint8_t status;
|
uint8_t status;
|
||||||
switch (hci_event_packet_get_type(packet)) {
|
switch (hci_event_packet_get_type(packet)) {
|
||||||
case HCI_EVENT_GOEP_META:
|
case HCI_EVENT_GOEP_META:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user