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:
parent
b9757f594d
commit
ddc72c7834
|
@ -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 */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue