summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2021-09-13 21:26:29 +0700
committerGitHub <[email protected]>2021-09-13 21:26:29 +0700
commit1c3215257e965ca7cadd176b6890b91c9cdd6ef1 (patch)
tree57348a80bf8c1e59f507ba68d12bf131da158406 /examples
parent7e6f954ffe7e3e574d629540d694ac91e14c245d (diff)
parentcdc63459ebf5bd979d1e98253abd3d75693dcdaf (diff)
Merge pull request #1091 from hathach/esp32sx-compliance
Esp32sx compliance
Diffstat (limited to 'examples')
-rw-r--r--examples/device/hid_composite_freertos/src/tusb_config.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/device/hid_composite_freertos/src/tusb_config.h b/examples/device/hid_composite_freertos/src/tusb_config.h
index 4b0458ef0..4fbccc294 100644
--- a/examples/device/hid_composite_freertos/src/tusb_config.h
+++ b/examples/device/hid_composite_freertos/src/tusb_config.h
@@ -67,8 +67,9 @@
// This examples use FreeRTOS
#define CFG_TUSB_OS OPT_OS_FREERTOS
-// CFG_TUSB_DEBUG is defined by compiler in DEBUG build
-// #define CFG_TUSB_DEBUG 0
+#ifndef CFG_TUSB_DEBUG
+#define CFG_TUSB_DEBUG 0
+#endif
/* USB DMA on some MCUs can only access a specific SRAM region with restriction on alignment.
* Tinyusb use follows macros to declare transferring memory so that they can be put