aboutsummaryrefslogtreecommitdiff
path: root/LUFA
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2011-10-30 14:04:47 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2011-10-30 14:04:47 +0000
commit241ff22a623e4c26cdbd11f20962f6669ce93d1c (patch)
tree594abc94b7b5420100f1c2bcb6edc28885f3c7ce /LUFA
parent0e39f5a57697e5a5faa61f786cac4ef7a55d7e7d (diff)
Update ENDPOINT_EPNUM_MASK to be 0x0F, the maximum possible USB endpoint number within a device, rather than just the maximum number for the AVR8 and UC3 targets of 0x07.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1961 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'LUFA')
-rw-r--r--LUFA/Drivers/USB/Core/Endpoint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Core/Endpoint.h b/LUFA/Drivers/USB/Core/Endpoint.h
index f6412ddf..1ce7b50e 100644
--- a/LUFA/Drivers/USB/Core/Endpoint.h
+++ b/LUFA/Drivers/USB/Core/Endpoint.h
@@ -91,7 +91,7 @@
/** 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.