diff options
Diffstat (limited to 'examples/obsolete/host/src/main.c')
| -rw-r--r-- | examples/obsolete/host/src/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/obsolete/host/src/main.c b/examples/obsolete/host/src/main.c index 6f108c441..90c64f849 100644 --- a/examples/obsolete/host/src/main.c +++ b/examples/obsolete/host/src/main.c @@ -64,7 +64,7 @@ void print_greeting(void); // IMPLEMENTATION //--------------------------------------------------------------------+ -#if CFG_TUSB_OS == TUSB_OS_NONE +#if CFG_TUSB_OS == OPT_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) { @@ -101,9 +101,9 @@ int main(void) cdc_serial_host_app_init(); //------------- start OS scheduler (never return) -------------// -#if CFG_TUSB_OS == TUSB_OS_FREERTOS +#if CFG_TUSB_OS == OPT_OS_FREERTOS vTaskStartScheduler(); -#elif CFG_TUSB_OS == TUSB_OS_NONE +#elif CFG_TUSB_OS == OPT_OS_NONE os_none_start_scheduler(); #elif CFG_TUSB_OS == TUSB_OS_CMSIS_RTX osKernelStart(); @@ -121,8 +121,8 @@ void print_greeting(void) { char const * const rtos_name[] = { - [TUSB_OS_NONE] = "None", - [TUSB_OS_FREERTOS] = "FreeRTOS", + [OPT_OS_NONE] = "None", + [OPT_OS_FREERTOS] = "FreeRTOS", }; puts("\n\ |
