rename usbh_edpt_open() to tuh_edpt_open()

This commit is contained in:
hathach
2022-03-19 14:59:31 +07:00
parent a4b976f095
commit 821be65b03
7 changed files with 9 additions and 9 deletions

View File

@@ -379,7 +379,7 @@ bool msch_open(uint8_t rhport, uint8_t dev_addr, tusb_desc_interface_t const *de
for(uint32_t i=0; i<2; i++)
{
TU_ASSERT(TUSB_DESC_ENDPOINT == ep_desc->bDescriptorType && TUSB_XFER_BULK == ep_desc->bmAttributes.xfer);
TU_ASSERT(usbh_edpt_open(dev_addr, ep_desc));
TU_ASSERT(tuh_edpt_open(dev_addr, ep_desc));
if ( tu_edpt_dir(ep_desc->bEndpointAddress) == TUSB_DIR_IN )
{