mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Fix avrc connected state check bug
This commit is contained in:
parent
bfa79648cd
commit
60cb043e13
@ -208,14 +208,14 @@ bool btc_avrc_ct_init_p(void)
|
||||
bool btc_avrc_tg_connected_p(void)
|
||||
{
|
||||
return (s_rc_tg_init == BTC_RC_TG_INIT_MAGIC) &&
|
||||
(btc_rc_cb.rc_connected = TRUE) &&
|
||||
(btc_rc_cb.rc_connected == TRUE) &&
|
||||
(btc_rc_cb.rc_features & BTA_AV_FEAT_RCCT);
|
||||
}
|
||||
|
||||
bool btc_avrc_ct_connected_p(void)
|
||||
{
|
||||
return (s_rc_ct_init == BTC_RC_CT_INIT_MAGIC) &&
|
||||
(btc_rc_cb.rc_connected = TRUE) &&
|
||||
(btc_rc_cb.rc_connected == TRUE) &&
|
||||
(btc_rc_cb.rc_features & BTA_AV_FEAT_RCTG);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user