Skip to content

Commit ffaf081

Browse files
committed
fix(bt/bluedroid): Fix AVRCP build issue when disable Cover Art
Closes #16155
1 parent 62723f5 commit ffaf081

File tree

1 file changed

+2
-0
lines changed
  • components/bt/host/bluedroid/btc/profile/std/avrc

1 file changed

+2
-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

0 commit comments

Comments
 (0)