From edbccb5e19692a95d72f0467901818a0e1cf7251 Mon Sep 17 00:00:00 2001 From: graham sanderson Date: Sun, 30 May 2021 18:37:51 -0500 Subject: [PATCH] don't override CFG_TUSB_OS in cdc_dual_ports example --- examples/device/cdc_dual_ports/src/tusb_config.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/device/cdc_dual_ports/src/tusb_config.h b/examples/device/cdc_dual_ports/src/tusb_config.h index 7db520dd..c7e87bf6 100644 --- a/examples/device/cdc_dual_ports/src/tusb_config.h +++ b/examples/device/cdc_dual_ports/src/tusb_config.h @@ -64,8 +64,9 @@ #error "Incorrect RHPort configuration" #endif -// This example doesn't use an RTOS +#ifndef CFG_TUSB_OS #define CFG_TUSB_OS OPT_OS_NONE +#endif // CFG_TUSB_DEBUG is defined by compiler in DEBUG build // #define CFG_TUSB_DEBUG 0