Skip to content

Commit

Permalink
comment debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
hathach committed Sep 18, 2023
1 parent 3861b59 commit 2ab530d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/arduino/Adafruit_TinyUSB_API.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/arduino/ports/rp2040/tusb_config_rp2040.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2ab530d

Please sign in to comment.