Change over all makefiles to use C99 standards mode, rather than C99 + GNU Extensions.
[pub/USBasp.git] / LUFA / Drivers / USB / LowLevel / Endpoint.c
index 22579af..d22a50d 100644 (file)
@@ -65,9 +65,9 @@ void Endpoint_ClearEndpoints(void)
        for (uint8_t EPNum = 0; EPNum < ENDPOINT_TOTAL_ENDPOINTS; EPNum++)
        {
                Endpoint_SelectEndpoint(EPNum); 
-               UEIENX = 0;
-               UEINTX = 0;
-               Endpoint_DeallocateMemory();
+               UEIENX  = 0;
+               UEINTX  = 0;
+               UECFG1X = 0;
                Endpoint_DisableEndpoint();
        }
 }