mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-03 23:47:08 +00:00
hfp_hf: sending ATA must wait for ok
This commit is contained in:
parent
76cc152743
commit
eaf2b0a14e
@ -548,6 +548,9 @@ static int hfp_hf_run_for_audio_connection(hfp_connection_t * hfp_connection){
|
||||
|
||||
|
||||
static int call_setup_state_machine(hfp_connection_t * hfp_connection){
|
||||
|
||||
if (hfp_connection->ok_pending) return 0;
|
||||
|
||||
if (hfp_connection->hf_answer_incoming_call){
|
||||
hfp_hf_cmd_ata(hfp_connection->rfcomm_cid);
|
||||
hfp_connection->hf_answer_incoming_call = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user