From ddc72c7834c20c2ddb564545be3377c352250f19 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 8 Mar 2012 14:31:49 +0000 Subject: [PATCH] Verified USB (device) on the PIC32 Ethernet Starter Kit git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4464 42af7a65-404d-4744-a932-0658087f49c3 --- arch/mips/src/pic32mx/pic32mx-usbdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/src/pic32mx/pic32mx-usbdev.c b/arch/mips/src/pic32mx/pic32mx-usbdev.c index 57c386d804..a4261a6a29 100644 --- a/arch/mips/src/pic32mx/pic32mx-usbdev.c +++ b/arch/mips/src/pic32mx/pic32mx-usbdev.c @@ -3945,6 +3945,7 @@ static void pic32mx_hwreset(struct pic32mx_usbdev_s *priv) regval = pic32mx_getreg(PIC32MX_USB_PWRC); regval &= ~USB_PWRC_USBPWR; + pic32mx_putreg(regval, PIC32MX_USB_PWRC); /* Clear all of the buffer descriptor table (BDT) entries */