summaryrefslogtreecommitdiff
path: root/src/class/hid
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-03-19 14:59:31 +0700
committerhathach <[email protected]>2022-03-19 14:59:31 +0700
commit821be65b034bd69210834ae7400527149cb66e43 (patch)
tree1951846a6305bdc87dbabc93f6f730e104067af2 /src/class/hid
parenta4b976f095ae36ab90cfc5394211598626ff895e (diff)
rename usbh_edpt_open() to tuh_edpt_open()
Diffstat (limited to 'src/class/hid')
-rw-r--r--src/class/hid/hid_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/hid/hid_host.c b/src/class/hid/hid_host.c
index 2280e87b4..ce3d1598c 100644
--- a/src/class/hid/hid_host.c
+++ b/src/class/hid/hid_host.c
@@ -356,7 +356,7 @@ bool hidh_open(uint8_t rhport, uint8_t dev_addr, tusb_desc_interface_t const *de
for(int i = 0; i < desc_itf->bNumEndpoints; i++)
{
TU_ASSERT(TUSB_DESC_ENDPOINT == desc_ep->bDescriptorType);
- TU_ASSERT( usbh_edpt_open(dev_addr, desc_ep) );
+ TU_ASSERT( tuh_edpt_open(dev_addr, desc_ep) );
if(tu_edpt_dir(desc_ep->bEndpointAddress) == TUSB_DIR_IN)
{