summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-01-19 16:20:28 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-01-19 16:20:28 +0000
commit80bfe72b3c8e888ad4e394a6d3822d6957318c5f (patch)
tree808eba7a4cf92194112765c320c20bf3c0010550
parent857ad01b07081b33508b8ab4a6e1742324845c99 (diff)
downloadnuttx-80bfe72b3c8e888ad4e394a6d3822d6957318c5f.tar.gz
nuttx-80bfe72b3c8e888ad4e394a6d3822d6957318c5f.tar.bz2
nuttx-80bfe72b3c8e888ad4e394a6d3822d6957318c5f.zip
Fix shift value in PIC32 USB header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4312 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r--nuttx/arch/mips/src/pic32mx/pic32mx-usbotg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/mips/src/pic32mx/pic32mx-usbotg.h b/nuttx/arch/mips/src/pic32mx/pic32mx-usbotg.h
index 679f353ff..5d5574a50 100644
--- a/nuttx/arch/mips/src/pic32mx/pic32mx-usbotg.h
+++ b/nuttx/arch/mips/src/pic32mx/pic32mx-usbotg.h
@@ -313,7 +313,7 @@
/* Offset 0: On read (hardware->software) */
#define USB_BDT_PID_SHIFT (2) /* Bits 2-5: Packet Identifier bits */
-#define USB_BDT_PID_MASK (15 << USB_BDT_BYTECOUNT_SHIFT)
+#define USB_BDT_PID_MASK (15 << USB_BDT_PID_SHIFT)
/* Bit 7: USB Own bit (same) */
/* Bits 16-25: Byte Count bits (same) */