add hcd_ehci.h as interface for ehci port

This commit is contained in:
hathach
2021-02-24 13:10:47 +07:00
parent 2d15e11830
commit 1dd2cd43dd
4 changed files with 56 additions and 8 deletions

View File

@@ -656,7 +656,7 @@ static bool enum_new_device(hcd_event_t* event)
//------------- connected/disconnected directly with roothub -------------//
if (dev0->hub_addr == 0)
{
// wait until device is stable
// wait until device is stable TODO non blocking
osal_task_delay(RESET_DELAY);
// device unplugged while delaying