diff options
| author | hathach <[email protected]> | 2025-11-15 19:46:14 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-11-17 12:09:30 +0700 |
| commit | 6b28a4478c9f8fa3993d593360eb5574bbdeda22 (patch) | |
| tree | 5a3b2566184aa29c7e4d8d923392cdf689cbae45 /src/portable/valentyusb | |
| parent | a3a5a41be8e22f529a8941c107ec32d48faa6ff2 (diff) | |
make TUP_DCD_EDPT_ISO_ALLOC i.e dcd_edpt_iso_alloc()/dcd_edpt_iso_activate() as default driver implementation. dcd_edpt_close() is deprecated and will be removed from all driver in the future.
Diffstat (limited to 'src/portable/valentyusb')
| -rw-r--r-- | src/portable/valentyusb/eptri/dcd_eptri.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/portable/valentyusb/eptri/dcd_eptri.c b/src/portable/valentyusb/eptri/dcd_eptri.c index a03c94558..f0e52ae47 100644 --- a/src/portable/valentyusb/eptri/dcd_eptri.c +++ b/src/portable/valentyusb/eptri/dcd_eptri.c @@ -438,9 +438,17 @@ bool dcd_edpt_open(uint8_t rhport, tusb_desc_endpoint_t const * p_endpoint_desc) return true; } -void dcd_edpt_close(uint8_t rhport, uint8_t ep_addr) { - (void) rhport; (void) ep_addr; - // TODO implement dcd_edpt_close() +bool dcd_edpt_iso_alloc(uint8_t rhport, uint8_t ep_addr, uint16_t largest_packet_size) { + (void)rhport; + (void)ep_addr; + (void)largest_packet_size; + return false; +} + +bool dcd_edpt_iso_activate(uint8_t rhport, const tusb_desc_endpoint_t *desc_ep) { + (void)rhport; + (void)desc_ep; + return false; } void dcd_edpt_close_all (uint8_t rhport) @@ -659,5 +667,4 @@ void dcd_int_handler(uint8_t rhport) } } } - #endif |
