[osal]add usb host script.

This commit is contained in:
Rbb666
2024-05-11 16:47:15 +08:00
parent e827829850
commit 4cecb759c9
3 changed files with 109 additions and 21 deletions

View File

@@ -44,7 +44,12 @@ static void tusb_thread_entry(void *parameter)
(void) parameter;
while (1)
{
#if CFG_TUH_ENABLED
tuh_task();
#endif
#if CFG_TUD_ENABLED
tud_task();
#endif
}
}