tud_hid_generic_get_report_cb and tud_hid_generic_set_report_cb are mandantory

This commit is contained in:
hathach
2018-07-31 13:45:31 +07:00
parent 1a0ffcee25
commit 191b73b58c
4 changed files with 25 additions and 10 deletions

View File

@@ -143,7 +143,16 @@ void usb_hid_task(void)
}
}
uint16_t tud_hid_generic_get_report_cb(uint8_t report_id, hid_report_type_t report_type, uint8_t* buffer, uint16_t reqlen)
{
// TODO not Implemented
return 0;
}
void tud_hid_generic_set_report_cb(uint8_t report_id, hid_report_type_t report_type, uint8_t const* buffer, uint16_t bufsize)
{
// TODO not Implemented
}
//--------------------------------------------------------------------+
// tinyusb callbacks