summaryrefslogtreecommitdiff
path: root/examples/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-04-12 12:55:53 +0700
committerhathach <[email protected]>2018-04-12 12:55:53 +0700
commit18f97fef7e35937c017f2b2ad2300a920256f66b (patch)
treeaf34770b4d075588f91b0e335f949b82283ad11c /examples/device
parentdf367bac54ac8926c51f2d8f11e4ca9a0abf50a8 (diff)
rename TUSB_OS_NONE, TUSB_OS_FREERTOS to OPT_OS_NONE, OPT_OS_FREERTOS
Diffstat (limited to 'examples/device')
-rw-r--r--examples/device/device_virtual_com/src/main.c4
-rw-r--r--examples/device/device_virtual_com/src/tusb_config.h2
-rw-r--r--examples/device/nrf52840/src/main.c4
-rw-r--r--examples/device/nrf52840/src/tusb_config.h2
4 files changed, 6 insertions, 6 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
//--------------------------------------------------------------------+
diff --git a/examples/device/nrf52840/src/main.c b/examples/device/nrf52840/src/main.c
index bb26f3a4e..42dfaaaa5 100644
--- a/examples/device/nrf52840/src/main.c
+++ b/examples/device/nrf52840/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--------------------------------------------------------------------\n");
diff --git a/examples/device/nrf52840/src/tusb_config.h b/examples/device/nrf52840/src/tusb_config.h
index 11d0bbdf9..6182ed9e1 100644
--- a/examples/device/nrf52840/src/tusb_config.h
+++ b/examples/device/nrf52840/src/tusb_config.h
@@ -67,7 +67,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
//--------------------------------------------------------------------+