summaryrefslogtreecommitdiff
path: root/src/host/hcd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-12-09 12:34:05 +0700
committerhathach <[email protected]>2018-12-09 12:34:05 +0700
commit05913a73501c8e2ea1a88299f6b900f92307aaa7 (patch)
tree45f1c103a8a76a0db86f0db4fdc959427b95276b /src/host/hcd.h
parent637285e9ae81b1703dbf38b3e9aac7b4a002a601 (diff)
change usbh class driver open signature
Diffstat (limited to 'src/host/hcd.h')
-rw-r--r--src/host/hcd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/hcd.h b/src/host/hcd.h
index a5ee63c8c..6c7a3e98c 100644
--- a/src/host/hcd.h
+++ b/src/host/hcd.h
@@ -140,7 +140,7 @@ bool hcd_edpt_xfer(uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr, uint8_t *
//--------------------------------------------------------------------+
// TODO control xfer should be used via usbh layer
-pipe_handle_t hcd_pipe_open(uint8_t dev_addr, tusb_desc_endpoint_t const * endpoint_desc, uint8_t class_code) ATTR_WARN_UNUSED_RESULT;
+pipe_handle_t hcd_pipe_open(uint8_t rhport, uint8_t dev_addr, tusb_desc_endpoint_t const * endpoint_desc, uint8_t class_code) ATTR_WARN_UNUSED_RESULT;
tusb_error_t hcd_pipe_queue_xfer(pipe_handle_t pipe_hdl, uint8_t buffer[], uint16_t total_bytes) ATTR_WARN_UNUSED_RESULT; // only queue, not transferring yet
tusb_error_t hcd_pipe_xfer(pipe_handle_t pipe_hdl, uint8_t buffer[], uint16_t total_bytes, bool int_on_complete) ATTR_WARN_UNUSED_RESULT;
tusb_error_t hcd_pipe_close(pipe_handle_t pipe_hdl) /*ATTR_WARN_UNUSED_RESULT*/;