mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-01 00:28:18 +00:00
examples: fix compile
This commit is contained in:
parent
db010f4620
commit
231147c59a
@ -90,7 +90,7 @@ static void packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packe
|
||||
// BTstack activated, get started
|
||||
if (btstack_event_state_get_state(packet) == HCI_STATE_WORKING){
|
||||
handle_sdp_client_query_request.callback = &handle_start_sdp_client_query;
|
||||
(void) sdp_client_register_query_callback(&handle_start_sdp_client_query);
|
||||
(void) sdp_client_register_query_callback(&handle_sdp_client_query_request);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
@ -278,7 +278,7 @@ static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *pack
|
||||
printf("Start to connect and query for SPP service\n");
|
||||
state = W2_SEND_SDP_QUERY;
|
||||
handle_sdp_client_query_request.callback = &handle_start_sdp_client_query;
|
||||
(void) sdp_client_register_query_callback(&handle_start_sdp_client_query);
|
||||
(void) sdp_client_register_query_callback(&handle_sdp_client_query_request);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user