mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-01 04:20:33 +00:00
avrcp_target: fix notification changed event
This commit is contained in:
parent
810b0d8456
commit
1b83a0693d
@ -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
|
||||
|
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user