mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
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:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user