> which was another line of thought for me. My solution: > > #define CLASS_ISR(vector, ...) { vector(); } ISR(vector, __VA_ARGS__) > > That can be applied to any member function in the C file, of any name.
Thanks Dean. This looks like it solves all my problems. In fact it can be even more concise: #define CLASS_ISR(vector, ...) {} ISR(vector) Ron _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-libc-dev