From 2ab530d2532fdae0599d7642daa69efec600ab9c Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 18 Sep 2023 22:27:12 +0700 Subject: [PATCH] comment debug code --- src/arduino/Adafruit_TinyUSB_API.cpp | 2 +- src/arduino/ports/rp2040/tusb_config_rp2040.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arduino/Adafruit_TinyUSB_API.cpp b/src/arduino/Adafruit_TinyUSB_API.cpp index 1a2b399f..b0afda8a 100644 --- a/src/arduino/Adafruit_TinyUSB_API.cpp +++ b/src/arduino/Adafruit_TinyUSB_API.cpp @@ -57,7 +57,7 @@ void TinyUSB_Device_FlushCDC(void) { // Debug log with Serial1 #if CFG_TUSB_DEBUG && defined(CFG_TUSB_DEBUG_PRINTF) -#define USE_SEGGER_RTT +// #define USE_SEGGER_RTT #ifdef USE_SEGGER_RTT #include "SEGGER_RTT/RTT/SEGGER_RTT.h" diff --git a/src/arduino/ports/rp2040/tusb_config_rp2040.h b/src/arduino/ports/rp2040/tusb_config_rp2040.h index 6d46c00b..e94d5db3 100644 --- a/src/arduino/ports/rp2040/tusb_config_rp2040.h +++ b/src/arduino/ports/rp2040/tusb_config_rp2040.h @@ -53,7 +53,7 @@ extern "C" { #endif // For selectively disable device log (when > CFG_TUSB_DEBUG) -#define CFG_TUD_LOG_LEVEL 3 +// #define CFG_TUD_LOG_LEVEL 3 #define CFG_TUSB_MEM_SECTION #define CFG_TUSB_MEM_ALIGN TU_ATTR_ALIGNED(4)