From d0312805ba245b71a2089d72c4b6c89a49b2933a Mon Sep 17 00:00:00 2001 From: hathach Date: Wed, 7 Mar 2018 22:59:57 +0700 Subject: rename tusb_task_runner() to tusb_task() --- examples/device/device_virtual_com/src/main.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'examples/device/device_virtual_com/src') diff --git a/examples/device/device_virtual_com/src/main.c b/examples/device/device_virtual_com/src/main.c index 6c55dfb7f..c576b2f4f 100644 --- a/examples/device/device_virtual_com/src/main.c +++ b/examples/device/device_virtual_com/src/main.c @@ -57,19 +57,6 @@ //--------------------------------------------------------------------+ void print_greeting(void); -#if TUSB_CFG_OS == TUSB_OS_NONE -// like a real RTOS, this function is a main loop invoking each task in application and never return -void os_none_start_scheduler(void) -{ - while (1) - { - tusb_task_runner(); - led_blinking_task(NULL); - cdc_serial_app_task(NULL); - } -} -#endif - int main(void) { board_init(); @@ -83,7 +70,7 @@ int main(void) while (1) { - tusb_task_runner(); + tusb_task(); led_blinking_task(NULL); cdc_serial_app_task(NULL); -- cgit v1.3.1