summaryrefslogtreecommitdiff
path: root/src/device/dcd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-06-10 17:19:21 +0700
committerhathach <[email protected]>2021-06-10 17:19:21 +0700
commitc7f51cde40afbefe3f1d57b9dbdaaca0abed424e (patch)
tree9cbc2769d32f06c189740b65f18ce55536d1fb58 /src/device/dcd.h
parent7e6cba7359dd362548026578dd48fe1f26312db3 (diff)
implement usbh_edpt_busy (WIP), remove hcd_edpt_busy
Diffstat (limited to 'src/device/dcd.h')
-rw-r--r--src/device/dcd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/dcd.h b/src/device/dcd.h
index e17c62d4e..63e97df96 100644
--- a/src/device/dcd.h
+++ b/src/device/dcd.h
@@ -122,7 +122,7 @@ void dcd_disconnect(uint8_t rhport) TU_ATTR_WEAK;
void dcd_edpt0_status_complete(uint8_t rhport, tusb_control_request_t const * request) TU_ATTR_WEAK;
// Configure endpoint's registers according to descriptor
-bool dcd_edpt_open (uint8_t rhport, tusb_desc_endpoint_t const * p_endpoint_desc);
+bool dcd_edpt_open (uint8_t rhport, tusb_desc_endpoint_t const * desc_ep);
// Close an endpoint.
// Since it is weak, caller must TU_ASSERT this function's existence before calling it.