hfp ag: fix emit call answered event

This commit is contained in:
Milanka Ringwald 2016-02-18 17:09:16 +01:00
parent 352dca4473
commit dd5c93ea6b
2 changed files with 2 additions and 2 deletions

View File

@ -1194,7 +1194,7 @@ static void hfp_ag_call_sm(hfp_ag_call_event_t event, hfp_connection_t * hfp_con
hfp_ag_set_call_indicator();
hfp_ag_hf_accept_call(hfp_connection);
printf("HF answers call, accept call by GSM\n");
hfp_emit_event(hfp_callback, HFP_CMD_CALL_ANSWERED, 0);
hfp_emit_simple_event(hfp_callback, HFP_SUBEVENT_CALL_ANSWERED);
break;
default:
break;