diff options
| author | hathach <[email protected]> | 2018-03-07 22:59:57 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-07 22:59:57 +0700 |
| commit | d0312805ba245b71a2089d72c4b6c89a49b2933a (patch) | |
| tree | b6f8b95d286b780e5dacf3eee8b58880388a4765 /examples/device/device_virtual_com/src | |
| parent | c7f6c95c2837365e4fe7518fa9bcbfbabb1c9ad5 (diff) | |
rename tusb_task_runner() to tusb_task()
Diffstat (limited to 'examples/device/device_virtual_com/src')
| -rw-r--r-- | examples/device/device_virtual_com/src/main.c | 15 |
1 files changed, 1 insertions, 14 deletions
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); |
