Skip to content

Commit 4e8ad76

Browse files
author
Jiang Jiang Jian
committed
Merge branch 'bugfix/fix_bt_avrcp_build_issue' into 'master'
fix(bt/bluedroid): Fix AVRCP build issue when disable Cover Art Closes IDFGH-15516 See merge request espressif/esp-idf!39982
2 parents c5a1710 + 4116e4f commit 4e8ad76

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

components/bt/host/bluedroid/btc/profile/std/avrc/btc_avrc.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1724,9 +1724,11 @@ void btc_avrc_get_profile_status(esp_avrc_profile_status_t *param)
17241724
if (btc_avrc_ct_init_p()) {
17251725
param->avrc_ct_inited = true;
17261726
}
1727+
#if BTC_AV_CA_INCLUDED
17271728
if (btc_rc_cb.rc_cover_art_connected) {
17281729
param->ct_cover_art_conn_num++;
17291730
}
1731+
#endif
17301732
}
17311733
}
17321734

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Override some defaults so BT stack is enabled and
2+
# Classic BT is enabled and BT_DRAM_RELEASE is disabled
3+
CONFIG_BT_ENABLED=y
4+
CONFIG_BTDM_CTRL_MODE_BLE_ONLY=n
5+
CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY=y
6+
CONFIG_BTDM_CTRL_MODE_BTDM=n
7+
CONFIG_BT_BLUEDROID_ENABLED=y
8+
CONFIG_BT_CLASSIC_ENABLED=y
9+
CONFIG_BT_A2DP_ENABLE=y
10+
CONFIG_BT_AVRCP_CT_COVER_ART_ENABLED=n
11+
CONFIG_EXAMPLE_AVRCP_CT_COVER_ART_ENABLE=n
12+
CONFIG_DAC_DMA_AUTO_16BIT_ALIGN=n

0 commit comments

Comments
 (0)