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
This commit is contained in:
patacongo 2012-03-08 14:31:49 +00:00
parent b9757f594d
commit ddc72c7834
1 changed files with 1 additions and 0 deletions

View File

@ -3945,6 +3945,7 @@ static void pic32mx_hwreset(struct pic32mx_usbdev_s *priv)
regval = pic32mx_getreg(PIC32MX_USB_PWRC); regval = pic32mx_getreg(PIC32MX_USB_PWRC);
regval &= ~USB_PWRC_USBPWR; regval &= ~USB_PWRC_USBPWR;
pic32mx_putreg(regval, PIC32MX_USB_PWRC);
/* Clear all of the buffer descriptor table (BDT) entries */ /* Clear all of the buffer descriptor table (BDT) entries */