hid_host: return complete HID report

This commit is contained in:
Matthias Ringwald 2024-06-17 14:09:40 +02:00
parent a086dc35a9
commit d9d6144e6f
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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;
}