X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/cd57e855f6bfbd278c5bcaa830debd8b659776dd..b20d25854d7134ed5c73bfcd852a6e3e4febdc0b:/LUFA/Drivers/USB/LowLevel/Endpoint.h diff --git a/LUFA/Drivers/USB/LowLevel/Endpoint.h b/LUFA/Drivers/USB/LowLevel/Endpoint.h index 75c887761..ea2e8cc53 100644 --- a/LUFA/Drivers/USB/LowLevel/Endpoint.h +++ b/LUFA/Drivers/USB/LowLevel/Endpoint.h @@ -409,7 +409,7 @@ */ static inline void Endpoint_AbortPendingIN(void) { - while (UESTA0X & (0x03 << NBUSYBK)) + while (UESTA0X & (0x03 << NBUSYBK0)) { UEINTX |= (1 << RXOUTI); while (UEINTX & (1 << RXOUTI)); @@ -426,7 +426,7 @@ */ static inline uint8_t Endpoint_GetBusyBanks(void) { - return (UESTA0X & (0x03 << NBUSYBK)); + return (UESTA0X & (0x03 << NBUSYBK0)); } /** Determines if the currently selected endpoint may be read from (if data is waiting in the endpoint