technically, mouse + keyboard device demo also work on lpc13uxx

This commit is contained in:
hathach
2013-11-11 14:02:55 +07:00
parent 9a81cbcd59
commit d8f32a79fc
5 changed files with 8 additions and 6 deletions

View File

@@ -165,6 +165,8 @@ tusb_error_t hidd_control_request(uint8_t coreid, tusb_control_request_t const *
case HID_REQUEST_CONTROL_SET_REPORT:
{
return TUSB_ERROR_DCD_CONTROL_REQUEST_NOT_SUPPORT;
// TODO HIDD set report support
hid_request_report_type_t report_type = u16_high_u8(p_request->wValue);
uint8_t report_id = u16_low_u8(p_request->wValue);