summaryrefslogtreecommitdiff
path: root/examples/device/hid_composite/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-01-24 00:54:58 +0700
committerhathach <[email protected]>2021-01-24 00:54:58 +0700
commit4101df7a75c10710011d7e5cafa5b3737c45295a (patch)
tree4c3ae4e535288086cce43d576f1fbc7b6e2dd033 /examples/device/hid_composite/src
parent599b428e13a9b71e20a5b3272a3b0c07686cf57c (diff)
rp2040 hid_composite compiled and tested
Diffstat (limited to 'examples/device/hid_composite/src')
-rw-r--r--examples/device/hid_composite/src/tusb_config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/device/hid_composite/src/tusb_config.h b/examples/device/hid_composite/src/tusb_config.h
index d8e6b73e8..3e608ed37 100644
--- a/examples/device/hid_composite/src/tusb_config.h
+++ b/examples/device/hid_composite/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