add hid_boot_interface example

This commit is contained in:
hathach
2021-08-17 13:21:24 +07:00
parent 02277133ae
commit 5f6418ccd7
10 changed files with 638 additions and 16 deletions

View File

@@ -82,9 +82,9 @@ uint8_t const desc_hid_report[] =
// Invoked when received GET HID REPORT DESCRIPTOR
// Application return pointer to descriptor
// Descriptor contents must exist long enough for transfer to complete
uint8_t const * tud_hid_descriptor_report_cb(uint8_t itf)
uint8_t const * tud_hid_descriptor_report_cb(uint8_t instance)
{
(void) itf;
(void) instance;
return desc_hid_report;
}