mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 04:20:20 +00:00
hfp ag: remove gsm code from ag for now
This commit is contained in:
parent
1de5bbb7fa
commit
3e920c463f
20
src/hfp_ag.c
20
src/hfp_ag.c
@ -1391,11 +1391,11 @@ static void hfp_ag_call_sm(hfp_ag_call_event_t event, hfp_connection_t * connect
|
||||
|
||||
case HFP_AG_OUTGOING_CALL_INITIATED:
|
||||
// directly reject call if number of free slots is exceeded
|
||||
if (!hfp_gsm_call_possible()){
|
||||
connection->send_error = 1;
|
||||
hfp_run_for_context(connection);
|
||||
break;
|
||||
}
|
||||
// if (!hfp_gsm_call_possible()){
|
||||
// connection->send_error = 1;
|
||||
// hfp_run_for_context(connection);
|
||||
// break;
|
||||
// }
|
||||
hfp_gsm_handle_event(HFP_AG_OUTGOING_CALL_INITIATED);
|
||||
connection->call_state = HFP_CALL_OUTGOING_INITIATED;
|
||||
|
||||
@ -1404,11 +1404,11 @@ static void hfp_ag_call_sm(hfp_ag_call_event_t event, hfp_connection_t * connect
|
||||
|
||||
case HFP_AG_OUTGOING_REDIAL_INITIATED:
|
||||
// directly reject call if number of free slots is exceeded
|
||||
if (!hfp_gsm_call_possible()){
|
||||
connection->send_error = 1;
|
||||
hfp_run_for_context(connection);
|
||||
break;
|
||||
}
|
||||
// if (!hfp_gsm_call_possible()){
|
||||
// connection->send_error = 1;
|
||||
// hfp_run_for_context(connection);
|
||||
// break;
|
||||
// }
|
||||
|
||||
hfp_gsm_handle_event(HFP_AG_OUTGOING_REDIAL_INITIATED);
|
||||
connection->call_state = HFP_CALL_OUTGOING_INITIATED;
|
||||
|
Loading…
x
Reference in New Issue
Block a user