seperate tusb_task() to tud_task() and tuh_task()

tusb_task() still exists for backward compatible
This commit is contained in:
hathach
2018-12-13 14:51:37 +07:00
parent af1ffe4675
commit 1c49c479ca
13 changed files with 64 additions and 49 deletions

View File

@@ -101,7 +101,8 @@ void usb_device_task(void* param)
// RTOS forever loop
while (1)
{
tusb_task();
// tinyusb device task
tud_task();
}
}