mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 04:20:20 +00:00
avrcp_target: fix get element attributes
This commit is contained in:
parent
1d935c68d5
commit
47b30c3581
@ -1260,7 +1260,7 @@ static void avrcp_handle_l2cap_data_packet_for_signaling_connection(avrcp_connec
|
|||||||
}
|
}
|
||||||
|
|
||||||
uint8_t play_identifier[8];
|
uint8_t play_identifier[8];
|
||||||
memcmp(&packet[pos], play_identifier, 8);
|
memcpy(&packet[pos], play_identifier, 8);
|
||||||
pos += 8;
|
pos += 8;
|
||||||
uint8_t attribute_count = packet[pos++];
|
uint8_t attribute_count = packet[pos++];
|
||||||
connection->next_attr_id = AVRCP_MEDIA_ATTR_NONE;
|
connection->next_attr_id = AVRCP_MEDIA_ATTR_NONE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user