|
From: | Mike Perks |
Subject: | Re: [Avr-libc-corelib] Interrupt Handlers |
Date: | Thu, 24 Sep 2009 08:24:11 -0500 |
User-agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
David Brown wrote:
This sounds like a good plan, except for the "macro" bit - such code should be "static inline" functions. Generally speaking, "code" macros should be static inline functions these days - they are clearer to write and to understand, and provide better error checking.
Agree 200%.This is why I believe quite a bit of the library will actually be in header files.
Mike Perks Oak Micros (oakmicros.com)
[Prev in Thread] | Current Thread | [Next in Thread] |