components/bt: Fix AVRC metadata length error

pull/4494/head
baohongde 2019-11-29 14:18:36 +08:00 zatwierdzone przez bot
rodzic 78891a9571
commit e94c2a04c1
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -564,7 +564,7 @@ static void handle_rc_attributes_rsp (tAVRC_MSG_VENDOR *vendor_msg)
btc_avrc_ct_cb_to_app(ESP_AVRC_CT_METADATA_RSP_EVT, &param[i]);
attr_index += (int) vendor_msg->p_vendor_data[7 + attr_index] + 8;
attr_index += attr_length + 8;
}
}