Skip to content

Commit

Permalink
Merge branch 'fix/hfp_pcm_codec_v5.3' into 'release/v5.3'
Browse files Browse the repository at this point in the history
fix(bt/bluedroid): Fix default codec type on PCM datapath for hfp_hf (backport v5.3)

See merge request espressif/esp-idf!33158
  • Loading branch information
jack0c committed Sep 5, 2024
2 parents 4913f93 + 3af62b6 commit 24c2c80
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,11 @@ static void bta_hf_client_api_enable(tBTA_HF_CLIENT_DATA *p_data)

/* check if mSBC support enabled */
if (bta_hf_client_version >= HFP_HF_VERSION_1_6) {
#if (BTM_WBS_INCLUDED == TRUE)
bta_hf_client_cb.msbc_enabled = TRUE;
#else
bta_hf_client_cb.msbc_enabled = FALSE;
#endif
} else{
bta_hf_client_cb.msbc_enabled = FALSE;
}
Expand Down

0 comments on commit 24c2c80

Please sign in to comment.