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
This commit is contained in:
parent
be7200c77e
commit
29aa5efa1e
@ -313,7 +313,7 @@
|
|||||||
/* Offset 0: On read (hardware->software) */
|
/* Offset 0: On read (hardware->software) */
|
||||||
|
|
||||||
#define USB_BDT_PID_SHIFT (2) /* Bits 2-5: Packet Identifier bits */
|
#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) */
|
/* Bit 7: USB Own bit (same) */
|
||||||
/* Bits 16-25: Byte Count bits (same) */
|
/* Bits 16-25: Byte Count bits (same) */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user