Skip to content

Commit

Permalink
Fix HID
Browse files Browse the repository at this point in the history
  • Loading branch information
chegewara committed Jul 29, 2021
1 parent dcbb68d commit 990f663
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=ESP32TinyUSB
version=1.3.1
version=1.3.2
author=Dariusz Krempa <[email protected]>
maintainer=Dariusz Krempa <[email protected]>
sentence=USB functions for ESP32-S2
Expand Down
2 changes: 1 addition & 1 deletion src/classes/hid/hidusb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ size_t HIDusb::write(const char *buffer, size_t len) {

// Invoked when received GET HID REPORT DESCRIPTOR request
// Application return pointer to descriptor, whose contents must exist long enough for transfer to complete
uint8_t const * tud_hid_descriptor_report_cb(void)
const uint8_t * tud_hid_descriptor_report_cb(uint8_t itf)
{
return HIDusb::hid_report_desc;
}
Expand Down

0 comments on commit 990f663

Please sign in to comment.