summaryrefslogtreecommitdiff
path: root/tinyusb/host/hcd.h
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/host/hcd.h
parent8c0bc3871304201c2135504bbc18228de2e891d0 (diff)
no big deal, only rename tusb_std_request_t to tusb_control_request_t
Diffstat (limited to 'tinyusb/host/hcd.h')
-rw-r--r--tinyusb/host/hcd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/host/hcd.h b/tinyusb/host/hcd.h
index 788c989f4..bb6b40455 100644
--- a/tinyusb/host/hcd.h
+++ b/tinyusb/host/hcd.h
@@ -91,7 +91,7 @@ void hcd_isr(uint8_t hostid);
//--------------------------------------------------------------------+
// TODO control xfer should be used via usbh layer
tusb_error_t hcd_pipe_control_open(uint8_t dev_addr, uint8_t max_packet_size) ATTR_WARN_UNUSED_RESULT;
-tusb_error_t hcd_pipe_control_xfer(uint8_t dev_addr, tusb_std_request_t const * p_request, uint8_t data[]) ATTR_WARN_UNUSED_RESULT;
+tusb_error_t hcd_pipe_control_xfer(uint8_t dev_addr, tusb_control_request_t const * p_request, uint8_t data[]) ATTR_WARN_UNUSED_RESULT;
tusb_error_t hcd_pipe_control_close(uint8_t dev_addr) ATTR_WARN_UNUSED_RESULT;
pipe_handle_t hcd_pipe_open(uint8_t dev_addr, tusb_descriptor_endpoint_t const * endpoint_desc, uint8_t class_code) ATTR_WARN_UNUSED_RESULT;