X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/cd57e855f6bfbd278c5bcaa830debd8b659776dd..64fe1cd0b2be01fd7b377736a85c1bd88a5fd429:/LUFA/Drivers/USB/LowLevel/Pipe.h diff --git a/LUFA/Drivers/USB/LowLevel/Pipe.h b/LUFA/Drivers/USB/LowLevel/Pipe.h index 53aeb1fd5..f415189c2 100644 --- a/LUFA/Drivers/USB/LowLevel/Pipe.h +++ b/LUFA/Drivers/USB/LowLevel/Pipe.h @@ -463,7 +463,7 @@ */ static inline uint8_t Pipe_GetBusyBanks(void) { - return (UPSTAX & (0x03 << NBUSYBK)); + return (UPSTAX & (0x03 << NBUSYBK0)); } /** Determines if the currently selected pipe may be read from (if data is waiting in the pipe @@ -861,7 +861,8 @@ * uses more USB DPRAM, but offers better performance. Isochronous type pipes must * have at least two banks. * - * \note Endpoints must be configured in ascending order, or bank corruption will occur. + * \note When the ORDERED_EP_CONFIG compile time option is used, Pipes must be configured in ascending order, + * or bank corruption will occur. * \n\n * * \note Certain models of USB AVR's pipes may have different maximum packet sizes based on the pipe's