summaryrefslogtreecommitdiff
path: root/src/device/dcd.h
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2021-06-10 17:42:43 +0700
committerGitHub <[email protected]>2021-06-10 17:42:43 +0700
commitb34724215bea28ef93fd80ed9c2e4ddc87874093 (patch)
tree8cb3da6aeb0a44da34d0663e540e0a706311b308 /src/device/dcd.h
parent3c4ab6bd8adaa20d1fe0c417761d2810456dbcbd (diff)
parentc9d66dcd5f82b138865bbb02486fe19e4a843eb2 (diff)
Merge pull request #887 from hathach/host-update
Host API clean up
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.