Skip to content

Commit a416911

Browse files
committed
dcd_pic: let the user manage shared GPIO/VBUS pin
1 parent 6e11406 commit a416911

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/portable/microchip/pic/dcd_pic.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -489,10 +489,6 @@ bool dcd_init(uint8_t rhport, const tusb_rhport_init_t* rh_init) {
489489
intr_disable(rhport);
490490
intr_clear(rhport);
491491

492-
#if CFG_TUSB_MCU == OPT_MCU_PIC32MM
493-
TRISBbits.TRISB6 = 1;
494-
#endif
495-
496492
tu_memclr(&_dcd, sizeof(_dcd));
497493

498494
#if TU_PIC_INT_SIZE == 4

0 commit comments

Comments
 (0)