mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(bt/bluedroid): Fix default codec type on PCM datapath for hfp_hf
This commit is contained in:
parent
10bba8feda
commit
3af62b6e48
@ -413,7 +413,11 @@ static void bta_hf_client_api_enable(tBTA_HF_CLIENT_DATA *p_data)
|
|||||||
|
|
||||||
/* check if mSBC support enabled */
|
/* check if mSBC support enabled */
|
||||||
if (bta_hf_client_version >= HFP_HF_VERSION_1_6) {
|
if (bta_hf_client_version >= HFP_HF_VERSION_1_6) {
|
||||||
|
#if (BTM_WBS_INCLUDED == TRUE)
|
||||||
bta_hf_client_cb.msbc_enabled = TRUE;
|
bta_hf_client_cb.msbc_enabled = TRUE;
|
||||||
|
#else
|
||||||
|
bta_hf_client_cb.msbc_enabled = FALSE;
|
||||||
|
#endif
|
||||||
} else{
|
} else{
|
||||||
bta_hf_client_cb.msbc_enabled = FALSE;
|
bta_hf_client_cb.msbc_enabled = FALSE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user