diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-03-08 14:31:49 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-03-08 14:31:49 +0000 |
commit | 6d8de0bdc5d9d895f7d65565bdb81f1b313655b0 (patch) | |
tree | 420b19b29bc3ba048674e06549441eb14f2c7376 /nuttx/arch/mips/src | |
parent | 64f3292a08e4d681e7f504ddbc1f2798f3780f0d (diff) | |
download | px4-nuttx-6d8de0bdc5d9d895f7d65565bdb81f1b313655b0.tar.gz px4-nuttx-6d8de0bdc5d9d895f7d65565bdb81f1b313655b0.tar.bz2 px4-nuttx-6d8de0bdc5d9d895f7d65565bdb81f1b313655b0.zip |
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
Diffstat (limited to 'nuttx/arch/mips/src')
-rw-r--r-- | nuttx/arch/mips/src/pic32mx/pic32mx-usbdev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nuttx/arch/mips/src/pic32mx/pic32mx-usbdev.c b/nuttx/arch/mips/src/pic32mx/pic32mx-usbdev.c index 57c386d80..a4261a6a2 100644 --- a/nuttx/arch/mips/src/pic32mx/pic32mx-usbdev.c +++ b/nuttx/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 */ |