Add __VA_ARGS__ support to the LUFA supplied ISR macro. Add proper result typecasting...
[pub/USBasp.git] / LUFA / Common / Common.h
index e349063..1fc47e0 100644 (file)
                                 *
                                 *  \param Name  Unique name of the interrupt service routine.
                                 */
-                               #define ISR(Name, ...)                  void Name (void) __attribute__((__interrupt__)); void Name (void)
+                               #define ISR(Name, ...)                  void Name (void) __attribute__((__interrupt__)) __VA_ARGS__; void Name (void)
                        #endif
 
                /* Inline Functions: */