diff options
| author | Ha Thach <[email protected]> | 2021-06-10 17:42:43 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-06-10 17:42:43 +0700 |
| commit | b34724215bea28ef93fd80ed9c2e4ddc87874093 (patch) | |
| tree | 8cb3da6aeb0a44da34d0663e540e0a706311b308 /src/device/dcd.h | |
| parent | 3c4ab6bd8adaa20d1fe0c417761d2810456dbcbd (diff) | |
| parent | c9d66dcd5f82b138865bbb02486fe19e4a843eb2 (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.h | 2 |
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. |
