examples: fix compile

This commit is contained in:
Milanka Ringwald 2020-09-08 10:50:12 +02:00
parent db010f4620
commit 231147c59a
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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;