summaryrefslogtreecommitdiff
path: root/tinyusb/class/hid_device.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-06-14 19:06:33 +0700
committerhathach <[email protected]>2013-06-14 19:06:33 +0700
commitf219a9c77da1b8e29e119118d86b3499448478f6 (patch)
tree6a8a1eafb39b4cc1e0c65389113018eda0d1a1a0 /tinyusb/class/hid_device.c
parent40b65b265c4a8d2de06b9164829169d629dbd847 (diff)
add dcd_pipe_control_read
Diffstat (limited to 'tinyusb/class/hid_device.c')
-rw-r--r--tinyusb/class/hid_device.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tinyusb/class/hid_device.c b/tinyusb/class/hid_device.c
index 8ae673560..2aba541bb 100644
--- a/tinyusb/class/hid_device.c
+++ b/tinyusb/class/hid_device.c
@@ -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: