mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 04:20:20 +00:00
auto-pts: delete debugging code
This commit is contained in:
parent
a92b1593b3
commit
32a73f639d
@ -794,14 +794,10 @@ static void btp_gap_handler(uint8_t opcode, uint8_t controller_index, uint16_t l
|
|||||||
|
|
||||||
// schedule response
|
// schedule response
|
||||||
gap_send_connect_response = true;
|
gap_send_connect_response = true;
|
||||||
#if 1
|
|
||||||
btstack_run_loop_remove_timer(&gap_connection_timer);
|
btstack_run_loop_remove_timer(&gap_connection_timer);
|
||||||
btstack_run_loop_set_timer_handler(&gap_connection_timer, &gap_connect_timeout_handler);
|
btstack_run_loop_set_timer_handler(&gap_connection_timer, &gap_connect_timeout_handler);
|
||||||
btstack_run_loop_set_timer(&gap_connection_timer, GAP_CONNECT_TIMEOUT_MS);
|
btstack_run_loop_set_timer(&gap_connection_timer, GAP_CONNECT_TIMEOUT_MS);
|
||||||
btstack_run_loop_add_timer(&gap_connection_timer);
|
btstack_run_loop_add_timer(&gap_connection_timer);
|
||||||
#else
|
|
||||||
gap_connect_send_response();
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case BTP_GAP_OP_DISCONNECT:
|
case BTP_GAP_OP_DISCONNECT:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user