Fixed error in the pipe unordered allocation algorithm for the AVR8 devices breaking...
[pub/lufa.git] / LUFA / Drivers / USB / Core / AVR8 / Endpoint_AVR8.c
index 6d4df03..9f7cec1 100644 (file)
@@ -78,7 +78,7 @@ bool Endpoint_ConfigureEndpoint_Prv(const uint8_t Number,
                  continue;
 
                Endpoint_DisableEndpoint();
-               UECFG1X &= (1 << ALLOC);
+               UECFG1X &= ~(1 << ALLOC);
 
                Endpoint_EnableEndpoint();
                UECFG0X = UECFG0XTemp;