summaryrefslogtreecommitdiff
path: root/tinyusb/class/hid_host.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-07-04 12:25:39 +0700
committerhathach <[email protected]>2013-07-04 12:25:39 +0700
commit391e132d6bf37bcbb4211729b3728a85c4f5d174 (patch)
treed11a05b7682441fc9a5165138bb6e697f67781a7 /tinyusb/class/hid_host.c
parent8c0bc3871304201c2135504bbc18228de2e891d0 (diff)
no big deal, only rename tusb_std_request_t to tusb_control_request_t
Diffstat (limited to 'tinyusb/class/hid_host.c')
-rw-r--r--tinyusb/class/hid_host.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/class/hid_host.c b/tinyusb/class/hid_host.c
index be1e7f28d..06b144e3f 100644
--- a/tinyusb/class/hid_host.c
+++ b/tinyusb/class/hid_host.c
@@ -221,7 +221,7 @@ tusb_error_t hidh_open_subtask(uint8_t dev_addr, tusb_descriptor_interface_t con
// OSAL_SUBTASK_INVOKED_AND_WAIT(
// usbh_control_xfer_subtask(
// dev_addr,
-// &(tusb_std_request_t)
+// &(tusb_control_request_t)
// {
// .bmRequestType = { .direction = TUSB_DIR_HOST_TO_DEV, .type = TUSB_REQUEST_TYPE_CLASS, .recipient = TUSB_REQUEST_RECIPIENT_INTERFACE },
// .bRequest = HID_REQUEST_CONTROL_SET_IDLE,
@@ -238,7 +238,7 @@ tusb_error_t hidh_open_subtask(uint8_t dev_addr, tusb_descriptor_interface_t con
// OSAL_SUBTASK_INVOKED_AND_WAIT(
// usbh_control_xfer_subtask(
// dev_addr,
-// &(tusb_std_request_t)
+// &(tusb_control_request_t)
// {
// .bmRequestType = { .direction = TUSB_DIR_DEV_TO_HOST, .type = TUSB_REQUEST_TYPE_STANDARD, .recipient = TUSB_REQUEST_RECIPIENT_INTERFACE },
// .bRequest = TUSB_REQUEST_GET_DESCRIPTOR,