summaryrefslogtreecommitdiff
path: root/examples/host
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-05-14 17:36:03 +0700
committerhathach <[email protected]>2019-05-14 17:36:03 +0700
commit6e443d191817617d030507d696a8b21e446f5aa8 (patch)
tree9ee1c7fab7f29265aff82193ad6163918b08117b /examples/host
parent851cf5426a7fffaebff146cb6fae0a698e4c3a55 (diff)
enable CFG_TUSB_DEBUG on DEBUG build
Diffstat (limited to 'examples/host')
-rw-r--r--examples/host/cdc_msc_hid/src/tusb_config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/host/cdc_msc_hid/src/tusb_config.h b/examples/host/cdc_msc_hid/src/tusb_config.h
index 7484d0757..144efa519 100644
--- a/examples/host/cdc_msc_hid/src/tusb_config.h
+++ b/examples/host/cdc_msc_hid/src/tusb_config.h
@@ -46,9 +46,11 @@
#define CFG_TUSB_RHPORT0_MODE OPT_MODE_HOST
#endif
-#define CFG_TUSB_DEBUG 1
#define CFG_TUSB_OS OPT_OS_NONE
+// CFG_TUSB_DEBUG is defined by compiler in DEBUG build
+// #define CFG_TUSB_DEBUG 0
+
/* 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
* into those specific section.