diff options
| author | hathach <[email protected]> | 2021-08-26 17:02:24 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-08-26 17:07:03 +0700 |
| commit | 71e77e47fa6056937bfcd1a883a66e2bc0b622b2 (patch) | |
| tree | 05eb70e002770c595be726d6f1c7dad73a28778c /src/portable/template | |
| parent | 07adc26ce32ee663905a25bd0300d56c265dc2ad (diff) | |
add dcd_edpt_close_all() for clear existing configured state
correctly responded to TD 9.13 Set Configuration Test
Diffstat (limited to 'src/portable/template')
| -rw-r--r-- | src/portable/template/dcd_template.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/portable/template/dcd_template.c b/src/portable/template/dcd_template.c index 12b9144bf..977369300 100644 --- a/src/portable/template/dcd_template.c +++ b/src/portable/template/dcd_template.c @@ -94,6 +94,11 @@ bool dcd_edpt_open (uint8_t rhport, tusb_desc_endpoint_t const * ep_desc) return false; } +void dcd_edpt_close_all (uint8_t rhport) +{ + (void) rhport; +} + // Submit a transfer, When complete dcd_event_xfer_complete() is invoked to notify the stack bool dcd_edpt_xfer (uint8_t rhport, uint8_t ep_addr, uint8_t * buffer, uint16_t total_bytes) { |
