diff options
| author | hathach <[email protected]> | 2022-03-19 14:59:31 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-03-19 14:59:31 +0700 |
| commit | 821be65b034bd69210834ae7400527149cb66e43 (patch) | |
| tree | 1951846a6305bdc87dbabc93f6f730e104067af2 /src/host/usbh.c | |
| parent | a4b976f095ae36ab90cfc5394211598626ff895e (diff) | |
rename usbh_edpt_open() to tuh_edpt_open()
Diffstat (limited to 'src/host/usbh.c')
| -rw-r--r-- | src/host/usbh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c index 466e5decd..f534070de 100644 --- a/src/host/usbh.c +++ b/src/host/usbh.c @@ -806,7 +806,7 @@ static bool usbh_edpt_control_open(uint8_t dev_addr, uint8_t max_packet_size) return hcd_edpt_open(usbh_get_rhport(dev_addr), dev_addr, &ep0_desc); } -bool usbh_edpt_open(uint8_t dev_addr, tusb_desc_endpoint_t const * desc_ep) +bool tuh_edpt_open(uint8_t dev_addr, tusb_desc_endpoint_t const * desc_ep) { TU_ASSERT( tu_edpt_validate(desc_ep, tuh_speed_get(dev_addr)) ); |
