Oops - typos in the naming of the NBUSYBK0 bits breaking the new busy bank counting...
authorDean Camera <dean@fourwalledcubicle.com>
Fri, 29 Oct 2010 06:50:56 +0000 (06:50 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Fri, 29 Oct 2010 06:50:56 +0000 (06:50 +0000)
LUFA/Drivers/USB/LowLevel/Endpoint.h
LUFA/Drivers/USB/LowLevel/Pipe.h

index 75c8877..ea2e8cc 100644 (file)
                         */
                        static inline void Endpoint_AbortPendingIN(void)
                        {
-                               while (UESTA0X & (0x03 << NBUSYBK))
+                               while (UESTA0X & (0x03 << NBUSYBK0))
                                {
                                        UEINTX |= (1 << RXOUTI);
                                        while (UEINTX & (1 << RXOUTI));
                         */
                        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
index 53aeb1f..0e877f6 100644 (file)
                         */
                        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