diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-04-05 07:00:11 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-04-05 07:00:11 +0000 |
commit | 557a945ba1851bc8d1669bd034464047f50b6691 (patch) | |
tree | ebbd2aa68f7aff7ee7467343598df9059b7d7059 /LUFA/Drivers/USB/HighLevel/StdRequestType.h | |
parent | 7d4cccc22d60125fac111819df48af1873d11018 (diff) | |
download | lufa-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/HighLevel/StdRequestType.h')
-rw-r--r-- | LUFA/Drivers/USB/HighLevel/StdRequestType.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/LUFA/Drivers/USB/HighLevel/StdRequestType.h b/LUFA/Drivers/USB/HighLevel/StdRequestType.h index 02d4fdc58..423de6d9c 100644 --- a/LUFA/Drivers/USB/HighLevel/StdRequestType.h +++ b/LUFA/Drivers/USB/HighLevel/StdRequestType.h @@ -44,14 +44,14 @@ *
* \see REQDIR_* macros for masks indicating the request data direction.
*/
- #define CONTROL_REQTYPE_DIRECTION 0b10000000
+ #define CONTROL_REQTYPE_DIRECTION 0x80
/** Mask for the request type parameter, to indicate the type of request (Device, Class or Vendor
* Specific). The result of this mask should then be compared to the request type masks.
*
* \see REQTYPE_* macros for masks indicating the request type.
*/
- #define CONTROL_REQTYPE_TYPE 0b01100000
+ #define CONTROL_REQTYPE_TYPE 0x60
/** Mask for the request type parameter, to indicate the recipient of the request (Standard, Class
* or Vendor Specific). The result of this mask should then be compared to the request recipient
@@ -59,7 +59,7 @@ *
* \see REQREC_* macros for masks indicating the request recipient.
*/
- #define CONTROL_REQTYPE_RECIPIENT 0b00011111
+ #define CONTROL_REQTYPE_RECIPIENT 0x1F
/** Request data direction mask, indicating that the request data will flow from host to device.
*
|