mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-28 08:37:22 +00:00
hfp: fix hfp_hf_activate_calling_line_notification and hfp_hf_activate_echo_canceling_and_noise_reduction
This commit is contained in:
parent
c05e3927fd
commit
0cf64e3889
@ -1336,7 +1336,7 @@ void hfp_hf_activate_calling_line_notification(bd_addr_t bd_addr){
|
||||
hfp_hf_establish_service_level_connection(bd_addr);
|
||||
hfp_connection_t * connection = get_hfp_connection_context_for_bd_addr(bd_addr);
|
||||
|
||||
connection->hf_deactivate_calling_line_notification = 1;
|
||||
connection->hf_activate_calling_line_notification = 1;
|
||||
hfp_run_for_context(connection);
|
||||
}
|
||||
|
||||
@ -1359,7 +1359,7 @@ void hfp_hf_activate_echo_canceling_and_noise_reduction(bd_addr_t bd_addr){
|
||||
hfp_hf_establish_service_level_connection(bd_addr);
|
||||
hfp_connection_t * connection = get_hfp_connection_context_for_bd_addr(bd_addr);
|
||||
|
||||
connection->hf_deactivate_echo_canceling_and_noise_reduction = 1;
|
||||
connection->hf_activate_echo_canceling_and_noise_reduction = 1;
|
||||
hfp_run_for_context(connection);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user