mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-21 21:41:13 +00:00
hid_host: return complete HID report
This commit is contained in:
parent
a086dc35a9
commit
d9d6144e6f
@ -11,7 +11,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
### Added
|
||||
|
||||
### Fixed
|
||||
RFCOMM: shut down multiplexer after closing last channel instead of multiplexer idle timer
|
||||
- RFCOMM: shut down multiplexer after closing last channel instead of multiplexer idle timer
|
||||
- HID Host: return complete HID report
|
||||
|
||||
### Changed
|
||||
|
||||
|
@ -875,7 +875,7 @@ static void hid_host_packet_handler(uint8_t packet_type, uint16_t channel, uint8
|
||||
|
||||
if (channel == connection->interrupt_cid){
|
||||
uint8_t * in_place_event = packet - 7;
|
||||
hid_setup_report_event(connection, in_place_event, size-1);
|
||||
hid_setup_report_event(connection, in_place_event, size);
|
||||
hid_host_callback(HCI_EVENT_PACKET, connection->hid_cid, in_place_event, size + 7);
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user