diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-07-19 09:04:25 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-07-19 09:04:25 +0000 |
commit | 9d2613d90868b59ac48ccce8b652819d5cd388d5 (patch) | |
tree | 8f5fe1bfba3045a2d91244991ca5e657607187d5 /LUFA/Drivers/USB/LowLevel/Pipe.h | |
parent | b243c2b80bf51c2b1473fbd4bac204bd6d984b7b (diff) | |
download | lufa-9d2613d90868b59ac48ccce8b652819d5cd388d5.tar.gz lufa-9d2613d90868b59ac48ccce8b652819d5cd388d5.tar.bz2 lufa-9d2613d90868b59ac48ccce8b652819d5cd388d5.zip |
Fixed incorrect PIPE_EPNUM_MASK mask causing pipe failures on devices with endpoint addresses of 8 and above (thanks to John Andrews).
Diffstat (limited to 'LUFA/Drivers/USB/LowLevel/Pipe.h')
-rw-r--r-- | LUFA/Drivers/USB/LowLevel/Pipe.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/Pipe.h b/LUFA/Drivers/USB/LowLevel/Pipe.h index 58cfb1f23..f03ea09c2 100644 --- a/LUFA/Drivers/USB/LowLevel/Pipe.h +++ b/LUFA/Drivers/USB/LowLevel/Pipe.h @@ -173,7 +173,7 @@ /** Endpoint number mask, for masking against endpoint addresses to retrieve the endpoint's
* numerical address in the attached device.
*/
- #define PIPE_EPNUM_MASK 0x07
+ #define PIPE_EPNUM_MASK 0x0F
/** Endpoint bank size mask, for masking against endpoint addresses to retrieve the endpoint's
* bank size in the attached device.
|