add dcd_pipe_control_read

This commit is contained in:
hathach
2013-06-14 19:06:33 +07:00
parent 40b65b265c
commit f219a9c77d
4 changed files with 30 additions and 11 deletions

View File

@@ -94,7 +94,9 @@ tusb_error_t hidd_control_request(uint8_t coreid, tusb_std_request_t const * p_r
case HID_REQUEST_CONTROL_SET_REPORT:
// TODO hidd set report, has data phase
// dcd_pipe_control_read(coreid, .....
// TODO verify data read from control pipe
// ; uint8_t hehe[10]= { 0 };
// dcd_pipe_control_read(coreid, hehe, p_request->wLength);
break;
case HID_REQUEST_CONTROL_GET_REPORT: