Add __VA_ARGS__ support to the LUFA supplied ISR macro. Add proper result typecasting...
[pub/lufa.git] / LUFA / Drivers / USB / Core / UC3 / Endpoint_UC3.c
index b978ec7..9c7d6b6 100644 (file)
@@ -61,7 +61,7 @@ void Endpoint_ClearEndpoints(void)
        {\r
                Endpoint_SelectEndpoint(EPNum);\r
                (&AVR32_USBB.uecfg0)[EPNum]    = 0;\r
-               (&AVR32_USBB.uecon0clr)[EPNum] = 0xFFFFFFFF;\r
+               (&AVR32_USBB.uecon0clr)[EPNum] = -1;\r
                USB_EndpointFIFOPos[EPNum]     = &AVR32_USBB_SLAVE[EPNum * 0x10000];\r
                Endpoint_DisableEndpoint();\r
        }\r