mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-04 13:14:32 +02:00
Merge branch 'bugfix/fix_bt_avrcp_build_issue_v5.4' into 'release/v5.4'
fix(bt/bluedroid): Fix AVRCP build issue when disable Cover Art (v5.4) See merge request espressif/esp-idf!40034
This commit is contained in:
@@ -1673,9 +1673,11 @@ void btc_avrc_get_profile_status(esp_avrc_profile_status_t *param)
|
|||||||
if (btc_avrc_ct_init_p()) {
|
if (btc_avrc_ct_init_p()) {
|
||||||
param->avrc_ct_inited = true;
|
param->avrc_ct_inited = true;
|
||||||
}
|
}
|
||||||
|
#if BTC_AV_CA_INCLUDED
|
||||||
if (btc_rc_cb.rc_cover_art_connected) {
|
if (btc_rc_cb.rc_cover_art_connected) {
|
||||||
param->ct_cover_art_conn_num++;
|
param->ct_cover_art_conn_num++;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -0,0 +1,12 @@
|
|||||||
|
# Override some defaults so BT stack is enabled and
|
||||||
|
# Classic BT is enabled and BT_DRAM_RELEASE is disabled
|
||||||
|
CONFIG_BT_ENABLED=y
|
||||||
|
CONFIG_BTDM_CTRL_MODE_BLE_ONLY=n
|
||||||
|
CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY=y
|
||||||
|
CONFIG_BTDM_CTRL_MODE_BTDM=n
|
||||||
|
CONFIG_BT_BLUEDROID_ENABLED=y
|
||||||
|
CONFIG_BT_CLASSIC_ENABLED=y
|
||||||
|
CONFIG_BT_A2DP_ENABLE=y
|
||||||
|
CONFIG_BT_AVRCP_CT_COVER_ART_ENABLED=n
|
||||||
|
CONFIG_EXAMPLE_AVRCP_CT_COVER_ART_ENABLE=n
|
||||||
|
CONFIG_DAC_DMA_AUTO_16BIT_ALIGN=n
|
Reference in New Issue
Block a user