summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorReimu NotMoe <[email protected]>2024-12-27 01:04:29 +0800
committerReimu NotMoe <[email protected]>2024-12-27 01:16:15 +0800
commita4169114ec6acb07cf8e26a1718e61c0c7af69fa (patch)
treee5680641922ea6c76c824d3dea2a49deeac14390 /src
parent6e1140683140eb7bb80dfae0d207a920dec6d12c (diff)
dcd_pic: let the user manage shared GPIO/VBUS pin
Diffstat (limited to 'src')
-rw-r--r--src/portable/microchip/pic/dcd_pic.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/portable/microchip/pic/dcd_pic.c b/src/portable/microchip/pic/dcd_pic.c
index 4e0bd735e..a4fa0e840 100644
--- a/src/portable/microchip/pic/dcd_pic.c
+++ b/src/portable/microchip/pic/dcd_pic.c
@@ -489,10 +489,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