From 9880e0b9e3e6e803fdbb568f839c30b27c00ea3e Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 19 Jan 2012 16:20:28 +0000 Subject: [PATCH] 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 --- arch/mips/src/pic32mx/pic32mx-usbotg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/src/pic32mx/pic32mx-usbotg.h b/arch/mips/src/pic32mx/pic32mx-usbotg.h index 679f353ffe..5d5574a505 100644 --- a/arch/mips/src/pic32mx/pic32mx-usbotg.h +++ b/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) */