add dcd_edpt_close_all() for clear existing configured state
correctly responded to TD 9.13 Set Configuration Test
This commit is contained in:
		@@ -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)
 | 
			
		||||
{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user