summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-11-01 13:37:56 +0700
committerhathach <[email protected]>2020-11-01 13:37:56 +0700
commit67ac40b98d217dde82090bf10a0cf55af5d1c44b (patch)
tree3e0e9c25134055995dc0d9ef03a9134b82f2998e /examples
parent8f0f2d1863036521422b3eb840a98c3aa7fdff2e (diff)
house keeping: make tu_print_mem format easier to compare with hex2dump
Diffstat (limited to 'examples')
-rw-r--r--examples/device/audio_test/src/tusb_config.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/device/audio_test/src/tusb_config.h b/examples/device/audio_test/src/tusb_config.h
index 16f88a4da..5d94858ea 100644
--- a/examples/device/audio_test/src/tusb_config.h
+++ b/examples/device/audio_test/src/tusb_config.h
@@ -47,6 +47,10 @@ extern "C" {
#define CFG_TUSB_OS OPT_OS_NONE
+#ifndef CFG_TUSB_DEBUG
+#define CFG_TUSB_DEBUG 0
+#endif
+
// CFG_TUSB_DEBUG is defined by compiler in DEBUG build
// #define CFG_TUSB_DEBUG 0
@@ -105,8 +109,6 @@ extern "C" {
// Size of control request buffer
#define CFG_TUD_AUDIO_CTRL_BUF_SIZE 64
-#define CFG_TUSB_DEBUG 0
-
#ifdef __cplusplus
}
#endif