diff options
| author | hathach <[email protected]> | 2025-03-26 22:11:44 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-03-26 22:11:44 +0700 |
| commit | e511d00f34b2832ae32ad0b2418a0878c7c4e7d6 (patch) | |
| tree | 312bb3b29926d84d52ded9e11458ccb9b03624a3 /src/portable/nxp | |
| parent | 901ce2ad93b39c08e8e6b7e5b3f4dbd0b9df879e (diff) | |
added hcd_edpt_close() stub for other ports
Diffstat (limited to 'src/portable/nxp')
| -rw-r--r-- | src/portable/nxp/khci/hcd_khci.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/portable/nxp/khci/hcd_khci.c b/src/portable/nxp/khci/hcd_khci.c index 056dbf40b..c3c901c5d 100644 --- a/src/portable/nxp/khci/hcd_khci.c +++ b/src/portable/nxp/khci/hcd_khci.c @@ -541,6 +541,11 @@ bool hcd_edpt_open(uint8_t rhport, uint8_t dev_addr, tusb_desc_endpoint_t const return true; } +bool hcd_edpt_close(uint8_t rhport, uint8_t daddr, uint8_t ep_addr) { + (void) rhport; (void) daddr; (void) ep_addr; + return false; // TODO not implemented yet +} + /* The address of buffer must be aligned to 4 byte boundary. And it must be at least 4 bytes long. * DMA writes data in 4 byte unit */ bool hcd_edpt_xfer(uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr, uint8_t * buffer, uint16_t buflen) |
