summaryrefslogtreecommitdiff
path: root/examples/device/device_virtual_com
diff options
context:
space:
mode:
Diffstat (limited to 'examples/device/device_virtual_com')
-rw-r--r--examples/device/device_virtual_com/src/main.c4
-rw-r--r--examples/device/device_virtual_com/src/tusb_config.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/device/device_virtual_com/src/main.c b/examples/device/device_virtual_com/src/main.c
index 8d4065194..68837e134 100644
--- a/examples/device/device_virtual_com/src/main.c
+++ b/examples/device/device_virtual_com/src/main.c
@@ -133,8 +133,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",
};
printf("\n\
diff --git a/examples/device/device_virtual_com/src/tusb_config.h b/examples/device/device_virtual_com/src/tusb_config.h
index 3a730f474..b7f7b348e 100644
--- a/examples/device/device_virtual_com/src/tusb_config.h
+++ b/examples/device/device_virtual_com/src/tusb_config.h
@@ -68,7 +68,7 @@
//--------------------------------------------------------------------+
#define CFG_TUSB_DEBUG 2
-//#define CFG_TUSB_OS TUSB_OS_NONE // be passed from IDE/command line for easy project switching
+//#define CFG_TUSB_OS OPT_OS_NONE // be passed from IDE/command line for easy project switching
//#define CFG_TUSB_OS_TASK_PRIO 0 // be passed from IDE/command line for easy project switching
//--------------------------------------------------------------------+