aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/LowLevel/Endpoint.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-04-05 07:00:11 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-04-05 07:00:11 +0000
commit557a945ba1851bc8d1669bd034464047f50b6691 (patch)
treeebbd2aa68f7aff7ee7467343598df9059b7d7059 /LUFA/Drivers/USB/LowLevel/Endpoint.h
parent7d4cccc22d60125fac111819df48af1873d11018 (diff)
downloadlufa-557a945ba1851bc8d1669bd034464047f50b6691.tar.gz
lufa-557a945ba1851bc8d1669bd034464047f50b6691.tar.bz2
lufa-557a945ba1851bc8d1669bd034464047f50b6691.zip
Removed all binary constants and replaced with decimal or hexadecimal constants so that unpatched GCC compilers can still build the code without having to be itself patched and recompiled first.
Diffstat (limited to 'LUFA/Drivers/USB/LowLevel/Endpoint.h')
-rw-r--r--LUFA/Drivers/USB/LowLevel/Endpoint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/Endpoint.h b/LUFA/Drivers/USB/LowLevel/Endpoint.h
index 009d8622d..c0eab3584 100644
--- a/LUFA/Drivers/USB/LowLevel/Endpoint.h
+++ b/LUFA/Drivers/USB/LowLevel/Endpoint.h
@@ -95,7 +95,7 @@
/** Endpoint number mask, for masking against endpoint addresses to retrieve the endpoint's
* numerical address in the device.
*/
- #define ENDPOINT_EPNUM_MASK 0b111
+ #define ENDPOINT_EPNUM_MASK 0x03
/** Endpoint bank size mask, for masking against endpoint addresses to retrieve the endpoint's
* bank size in the device.