Skip to content

Commit ecfa5dc

Browse files
committed
change(dcd_dwc2): Removed debug information
1 parent 1799d4a commit ecfa5dc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/portable/synopsys/dwc2/dcd_dwc2.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
#include "tusb_option.h"
3131

32-
// #if CFG_TUD_ENABLED && defined(TUP_USBIP_DWC2)
32+
#if CFG_TUD_ENABLED && defined(TUP_USBIP_DWC2)
3333

3434
// Debug level for DWC2
3535
#define DWC2_DEBUG 2
@@ -718,7 +718,6 @@ bool dcd_init(uint8_t rhport, const tusb_rhport_init_t* rh_init) {
718718
dwc2->gahbcfg |= GAHBCFG_TXFELVL;
719719

720720
if (dma_enabled(dwc2)) {
721-
TU_LOG1("DMA\r\n");
722721
const uint16_t epinfo_base = dma_cal_epfifo_base(rhport);
723722
dwc2->gdfifocfg = (epinfo_base << GDFIFOCFG_EPINFOBASE_SHIFT) | epinfo_base;
724723

@@ -1311,4 +1310,4 @@ void dcd_enter_test_mode(uint8_t rhport, tusb_feature_test_mode_t test_selector)
13111310
}
13121311
#endif
13131312

1314-
// #endif
1313+
#endif

0 commit comments

Comments
 (0)