mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-26 12:35:25 +00:00
avdtp source: fix compile
This commit is contained in:
parent
747ec64600
commit
e6a4f9ede0
@ -442,7 +442,7 @@ void avdtp_prepare_capabilities(avdtp_signaling_packet_t * signaling_packet, uin
|
||||
// printf_hexdump(signaling_packet->command, signaling_packet->size);
|
||||
for (i = 1; i < 9; i++){
|
||||
int registered_category = get_bit16(registered_service_categories, i);
|
||||
if (!registered_category && (identifier == AVDTP_SI_SET_CONFIGURATION || identifier == identifier == AVDTP_SI_RECONFIGURE){
|
||||
if (!registered_category && (identifier == AVDTP_SI_SET_CONFIGURATION || identifier == AVDTP_SI_RECONFIGURE){
|
||||
// TODO: introduce bitmap of mandatory categories
|
||||
if (i == 1){
|
||||
registered_category = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user