fix ci build

This commit is contained in:
hathach
2024-08-19 13:20:16 +07:00
parent 0c9d7a2185
commit 635bdc1fce
3 changed files with 2 additions and 3 deletions

View File

@@ -181,7 +181,7 @@ bool dcd_edpt_iso_activate(uint8_t rhport, tusb_desc_endpoint_t const * desc_ep)
#else
// Close an endpoint.
void dcd_edpt_close (uint8_t rhport, uint8_t ep_addr);
void dcd_edpt_close (uint8_t rhport, uint8_t ep_addr) TU_ATTR_WEAK;
#endif

View File

@@ -1424,7 +1424,6 @@ void usbd_edpt_close(uint8_t rhport, uint8_t ep_addr) {
#else
rhport = _usbd_rhport;
TU_ASSERT(dcd_edpt_close, /**/);
TU_LOG_USBD(" CLOSING Endpoint: 0x%02X\r\n", ep_addr);
uint8_t const epnum = tu_edpt_number(ep_addr);