diff options
Diffstat (limited to 'examples/device')
| -rw-r--r-- | examples/device/device_virtual_com/src/main.c | 4 | ||||
| -rw-r--r-- | examples/device/device_virtual_com/src/tusb_config.h | 2 | ||||
| -rw-r--r-- | examples/device/nrf52840/src/main.c | 4 | ||||
| -rw-r--r-- | examples/device/nrf52840/src/tusb_config.h | 2 |
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 //--------------------------------------------------------------------+ |
