mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-26 20:37:19 +00:00
fix warnings / add hid_host.c to embedded targets
This commit is contained in:
parent
cf4c9541a9
commit
1ddeadfcb2
@ -167,6 +167,8 @@ COMMON = \
|
||||
|
||||
CLASSIC = \
|
||||
btstack_link_key_db_tlv.o \
|
||||
hid_device.o \
|
||||
hid_host.o \
|
||||
rfcomm.o \
|
||||
sdp_util.o \
|
||||
spp_server.o \
|
||||
|
@ -138,6 +138,7 @@ ${BTSTACK_ROOT}/src/classic/hfp_gsm_model.c \
|
||||
${BTSTACK_ROOT}/src/classic/hfp_hf.c \
|
||||
${BTSTACK_ROOT}/src/classic/hfp_msbc.c \
|
||||
${BTSTACK_ROOT}/src/classic/hid_device.c \
|
||||
${BTSTACK_ROOT}/src/classic/hid_host.c \
|
||||
${BTSTACK_ROOT}/src/classic/hsp_ag.c \
|
||||
${BTSTACK_ROOT}/src/classic/hsp_hs.c \
|
||||
${BTSTACK_ROOT}/src/classic/obex_iterator.c \
|
||||
|
@ -103,6 +103,7 @@ ${BTSTACK_ROOT}/src/classic/hfp_gsm_model.c \
|
||||
${BTSTACK_ROOT}/src/classic/hfp_hf.c \
|
||||
${BTSTACK_ROOT}/src/classic/hfp_msbc.c \
|
||||
${BTSTACK_ROOT}/src/classic/hid_device.c \
|
||||
${BTSTACK_ROOT}/src/classic/hid_host.c \
|
||||
${BTSTACK_ROOT}/src/classic/hsp_ag.c \
|
||||
${BTSTACK_ROOT}/src/classic/hsp_hs.c \
|
||||
${BTSTACK_ROOT}/src/classic/obex_iterator.c \
|
||||
|
@ -398,7 +398,7 @@ static void hid_host_handle_sdp_client_query_result(uint8_t packet_type, uint16_
|
||||
if (!des_iterator_has_more(&prot_it)) continue;
|
||||
des_iterator_next(&prot_it);
|
||||
de_element_get_uint16(des_iterator_get_element(&prot_it), &connection->control_psm);
|
||||
log_info("HID Control PSM: 0x%04x", (int) &connection->control_psm);
|
||||
log_info("HID Control PSM: 0x%04x", connection->control_psm);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@ -421,7 +421,7 @@ static void hid_host_handle_sdp_client_query_result(uint8_t packet_type, uint16_
|
||||
if (!des_iterator_has_more(&prot_it)) continue;
|
||||
des_iterator_next(&prot_it);
|
||||
de_element_get_uint16(des_iterator_get_element(&prot_it), &connection->interrupt_psm);
|
||||
log_info("HID Interrupt PSM: 0x%04x", (int) &connection->interrupt_psm);
|
||||
log_info("HID Interrupt PSM: 0x%04x", connection->interrupt_psm);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user