add dcd_edpt_close_all() for clear existing configured state
correctly responded to TD 9.13 Set Configuration Test
This commit is contained in:
@@ -323,6 +323,12 @@ bool dcd_edpt_open(uint8_t rhport, tusb_desc_endpoint_t const * p_endpoint_desc)
|
||||
return true;
|
||||
}
|
||||
|
||||
void dcd_edpt_close_all (uint8_t rhport)
|
||||
{
|
||||
(void) rhport;
|
||||
// TODO implement dcd_edpt_close_all()
|
||||
}
|
||||
|
||||
static void prepare_setup_packet(uint8_t rhport)
|
||||
{
|
||||
if (_dcd_controller[rhport].max_speed == TUSB_SPEED_FULL )
|
||||
|
||||
Reference in New Issue
Block a user