From ec3e47a7d064dda452ab640e7ad61d4602380ed8 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 11 Dec 2011 03:04:16 +0000 Subject: 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. --- LUFA/Drivers/USB/Core/Pipe.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'LUFA/Drivers/USB/Core/Pipe.h') 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 -- cgit v1.2.3