avrcp_browsing_target: fix response length for SET BROWSED PLAYER command

This commit is contained in:
Milanka Ringwald 2024-11-06 14:48:46 +01:00 committed by Matthias Ringwald
parent a215e8c0c8
commit c8fb77dd9c

View File

@ -346,6 +346,7 @@ uint8_t avrcp_browsing_target_send_reject_set_browsed_player(uint16_t avrcp_brow
int pos = 0;
connection->cmd_operands[pos++] = AVRCP_PDU_ID_SET_BROWSED_PLAYER;
big_endian_store_16(connection->cmd_operands, pos, 1);
pos += 2;
connection->cmd_operands[pos++] = status;
connection->cmd_operands_length = pos;