summaryrefslogtreecommitdiff
path: root/tinyusb/class
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-11-11 14:02:55 +0700
committerhathach <[email protected]>2013-11-11 14:02:55 +0700
commitd8f32a79fc9e04136afcd8f4d79abe7a9b0c2eb9 (patch)
treeb9d7548e4b6bf6d09e4472270a78d6a73602c233 /tinyusb/class
parent9a81cbcd59cb64bce4c24cbffed2b02eaea5d2b2 (diff)
technically, mouse + keyboard device demo also work on lpc13uxx
Diffstat (limited to 'tinyusb/class')
-rw-r--r--tinyusb/class/hid_device.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tinyusb/class/hid_device.c b/tinyusb/class/hid_device.c
index c88f8ceae..ec77ccc74 100644
--- a/tinyusb/class/hid_device.c
+++ b/tinyusb/class/hid_device.c
@@ -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);