Update ENDPOINT_EPNUM_MASK to be 0x0F, the maximum possible USB endpoint number withi...
authorDean Camera <dean@fourwalledcubicle.com>
Sun, 30 Oct 2011 14:04:47 +0000 (14:04 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Sun, 30 Oct 2011 14:04:47 +0000 (14:04 +0000)
LUFA/Drivers/USB/Core/Endpoint.h

index f6412dd..1ce7b50 100644 (file)
@@ -91,7 +91,7 @@
                        /** Endpoint number mask, for masking against endpoint addresses to retrieve the endpoint's
                         *  numerical address in the device.
                         */
                        /** Endpoint number mask, for masking against endpoint addresses to retrieve the endpoint's
                         *  numerical address in the device.
                         */
-                       #define ENDPOINT_EPNUM_MASK                     0x07
+                       #define ENDPOINT_EPNUM_MASK                     0x0F
 
                        /** Endpoint address for the default control endpoint, which always resides in address 0. This is
                         *  defined for convenience to give more readable code when used with the endpoint macros.
 
                        /** Endpoint address for the default control endpoint, which always resides in address 0. This is
                         *  defined for convenience to give more readable code when used with the endpoint macros.