summaryrefslogtreecommitdiff
path: root/examples/device/dynamic_configuration/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-01-24 00:52:46 +0700
committerhathach <[email protected]>2021-01-24 00:52:46 +0700
commit599b428e13a9b71e20a5b3272a3b0c07686cf57c (patch)
tree3ed3208076e964357a0e2af160f359941f50f930 /examples/device/dynamic_configuration/src
parent26522d0ec5825280626f49c7191b7964826bed91 (diff)
rp2040 dfu_rt dynamic_configuration compiled
not tested, but should be OK
Diffstat (limited to 'examples/device/dynamic_configuration/src')
-rw-r--r--examples/device/dynamic_configuration/src/tusb_config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/device/dynamic_configuration/src/tusb_config.h b/examples/device/dynamic_configuration/src/tusb_config.h
index 2f8072f89..23073faf3 100644
--- a/examples/device/dynamic_configuration/src/tusb_config.h
+++ b/examples/device/dynamic_configuration/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