diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-12-11 03:04:16 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-12-11 03:04:16 +0000 |
commit | ec3e47a7d064dda452ab640e7ad61d4602380ed8 (patch) | |
tree | df643988bc046d24ae147f632dc6539162bf0f56 /LUFA/Drivers/USB | |
parent | ecba8bcecfa7c8cde46de5392d5852d0c3e9b07a (diff) | |
download | lufa-ec3e47a7d064dda452ab640e7ad61d4602380ed8.tar.gz lufa-ec3e47a7d064dda452ab640e7ad61d4602380ed8.tar.bz2 lufa-ec3e47a7d064dda452ab640e7ad61d4602380ed8.zip |
Change PIPE_PIPENUM_MASK from 0x07 to the more generic 0x0F to allow for full pipe address support in USB host architectures other than the current AVR8 devices. Minor documentation improvements.
Diffstat (limited to 'LUFA/Drivers/USB')
-rw-r--r-- | LUFA/Drivers/USB/Core/Pipe.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/Core/Pipe.h b/LUFA/Drivers/USB/Core/Pipe.h index 387ee5042..fe74c9af9 100644 --- a/LUFA/Drivers/USB/Core/Pipe.h +++ b/LUFA/Drivers/USB/Core/Pipe.h @@ -106,7 +106,7 @@ /** Pipe number mask, for masking against pipe addresses to retrieve the pipe's numerical address * in the device. */ - #define PIPE_PIPENUM_MASK 0x07 + #define PIPE_PIPENUM_MASK 0x0F /** Endpoint number mask, for masking against endpoint addresses to retrieve the endpoint's * numerical address in the attached device. @@ -114,7 +114,7 @@ #define PIPE_EPNUM_MASK 0x0F /** Endpoint direction mask, for masking against endpoint addresses to retrieve the endpoint's - * direction for comparing with the \c ENDPOINT_DESCRIPTOR_DIR_* masks. + * direction for comparing with the \c ENDPOINT_DIR_* masks. */ #define PIPE_EPDIR_MASK 0x80 |