summaryrefslogtreecommitdiff
path: root/examples/device
diff options
context:
space:
mode:
authorReinhard Panhuber <[email protected]>2020-06-20 10:53:09 +0200
committerReinhard Panhuber <[email protected]>2020-06-20 10:53:09 +0200
commit1af77233ed9008708e4ee9c0bca924cdc23e1c7b (patch)
tree51bc3b36868c93716a2a1cacfc35abbc00d35af9 /examples/device
parent9be2f1bf3dc2c89bc23eed1e95c06de41ebb0946 (diff)
parentd9496256cf5979f4bf2a6eb915e098861a459394 (diff)
Merge branch 'master' of https://github.com/PanRe/tinyusb.git into uac2
Diffstat (limited to 'examples/device')
-rw-r--r--examples/device/cdc_msc_freertos/src/tusb_config.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/device/cdc_msc_freertos/src/tusb_config.h b/examples/device/cdc_msc_freertos/src/tusb_config.h
index 794e996b6..40b7bced0 100644
--- a/examples/device/cdc_msc_freertos/src/tusb_config.h
+++ b/examples/device/cdc_msc_freertos/src/tusb_config.h
@@ -48,8 +48,10 @@
#define CFG_TUSB_OS OPT_OS_FREERTOS
-// CFG_TUSB_DEBUG is defined by compiler in DEBUG build
-// #define CFG_TUSB_DEBUG 0
+// can be defined by compiler in DEBUG build
+#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