mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-24 21:39:55 +00:00
avdtp: fix compile
This commit is contained in:
parent
8ebc0d8ad6
commit
e033427c27
@ -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 == 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