From 9d2613d90868b59ac48ccce8b652819d5cd388d5 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 19 Jul 2009 09:04:25 +0000 Subject: Fixed incorrect PIPE_EPNUM_MASK mask causing pipe failures on devices with endpoint addresses of 8 and above (thanks to John Andrews). --- LUFA/Drivers/USB/LowLevel/Pipe.h | 2 +- LUFA/ManPages/ChangeLog.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'LUFA') 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. diff --git a/LUFA/ManPages/ChangeLog.txt b/LUFA/ManPages/ChangeLog.txt index c2b7d5edb..62997d73d 100644 --- a/LUFA/ManPages/ChangeLog.txt +++ b/LUFA/ManPages/ChangeLog.txt @@ -61,6 +61,7 @@ * - Fixed Host mode to Device mode UID change not causing a USB Disconnect event when a device was connected * - Fixed Mouse/Keyboard demos not performing the correct arithmetic on the Idle period at the right times (thanks to Brian Dickman) * - Fixed GenericHID failing HID class tests due to incorrect Logical Minimum and Logical Maximum values (thanks to Søren Greiner) + * - Fixed incorrect PIPE_EPNUM_MASK mask causing pipe failures on devices with endpoint addresses of 8 and above (thanks to John Andrews) * * * \section Sec_ChangeLog090605 Version 090605 -- cgit v1.2.3