Skip to content

Commit

Permalink
dcd_pic: let the user manage shared GPIO/VBUS pin
Browse files Browse the repository at this point in the history
  • Loading branch information
ReimuNotMoe committed Dec 26, 2024
1 parent d70a00f commit 2816750
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/portable/microchip/pic/dcd_pic.c
Original file line number Diff line number Diff line change
Expand Up @@ -490,10 +490,6 @@ bool dcd_init(uint8_t rhport, const tusb_rhport_init_t* rh_init) {
intr_disable(rhport);
intr_clear(rhport);

#if CFG_TUSB_MCU == OPT_MCU_PIC32MM
TRISBbits.TRISB6 = 1;
#endif

tu_memclr(&_dcd, sizeof(_dcd));

#if TU_PIC_INT_SIZE == 4
Expand Down

0 comments on commit 2816750

Please sign in to comment.