mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-28 18:32:41 +00:00
hfp: allow to use ag and hf at the same time (fix)
This commit is contained in:
parent
ca59be5193
commit
671f1aa2bc
@ -214,8 +214,10 @@ static void hfp_emit_event_for_context(hfp_connection_t * hfp_connection, uint8_
|
||||
switch (hfp_connection->local_role){
|
||||
case HFP_ROLE_HF:
|
||||
callback = hfp_hf_callback;
|
||||
break;
|
||||
case HFP_ROLE_AG:
|
||||
callback = hfp_ag_callback;
|
||||
break;
|
||||
default:
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user