avrcp_target: fix notification changed event

This commit is contained in:
Matthias Ringwald 2021-03-18 18:55:46 +01:00
parent 810b0d8456
commit 1b83a0693d
2 changed files with 2 additions and 1 deletions

View File

@ -25,6 +25,7 @@ GAP: add gap_set_page_scan_activity and gap_set_page_scan_type
### Fixed
HCI: handle start inquiry failure
AVRCP Target: fix notification changed event
### Changed
HCI: config I2S for BCM Controllers if `ENABLE_SCO_OVER_PCM`, reduce bit clock to 256/512 kHz

View File

@ -1053,7 +1053,7 @@ static int avrcp_target_send_notification(uint16_t cid, avrcp_connection_t * con
packet[pos++] = AVRCP_PDU_ID_REGISTER_NOTIFICATION;
packet[pos++] = 0;
big_endian_store_16(packet, pos, value_len);
big_endian_store_16(packet, pos, 1 + value_len);
pos += 2;
packet[pos++] = notification_id;
if (value_len > 0){