From 67ac40b98d217dde82090bf10a0cf55af5d1c44b Mon Sep 17 00:00:00 2001 From: hathach Date: Sun, 1 Nov 2020 13:37:56 +0700 Subject: house keeping: make tu_print_mem format easier to compare with hex2dump --- examples/device/audio_test/src/tusb_config.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'examples/device') 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 -- cgit v1.3.1