summaryrefslogtreecommitdiff
path: root/examples/device
diff options
context:
space:
mode:
Diffstat (limited to 'examples/device')
-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