add dcd_edpt_close_all() for clear existing configured state

correctly responded to TD 9.13 Set Configuration Test
This commit is contained in:
hathach
2021-08-26 17:02:24 +07:00
parent 07adc26ce3
commit 71e77e47fa
25 changed files with 182 additions and 16 deletions

View File

@@ -312,6 +312,12 @@ bool dcd_edpt_open(uint8_t rhport, tusb_desc_endpoint_t const *desc_edpt)
return true;
}
void dcd_edpt_close_all(uint8_t rhport)
{
(void) rhport;
// TODO implement dcd_edpt_close_all()
}
bool dcd_edpt_xfer(uint8_t rhport, uint8_t ep_addr, uint8_t *buffer, uint16_t total_bytes)
{
(void)rhport;