diff options
| author | hathach <[email protected]> | 2024-08-19 13:20:16 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-08-19 17:36:11 +0700 |
| commit | 635bdc1fcea1d4d9972d4c9960a32250b0245186 (patch) | |
| tree | 5ff87db052ccfb1a049a4363e48d70b180cee973 /src | |
| parent | 0c9d7a21858d246dfaadb78122c27c6e4099109c (diff) | |
fix ci build
Diffstat (limited to 'src')
| -rw-r--r-- | src/device/dcd.h | 2 | ||||
| -rw-r--r-- | src/device/usbd.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/device/dcd.h b/src/device/dcd.h index 66fae0802..d1d4e4897 100644 --- a/src/device/dcd.h +++ b/src/device/dcd.h @@ -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 diff --git a/src/device/usbd.c b/src/device/usbd.c index d6f69fc24..67faf0da7 100644 --- a/src/device/usbd.c +++ b/src/device/usbd.c @@ -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); |
