> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]
>  On Behalf Of Weddington, Eric
> Sent: Friday, October 03, 2008 11:57 AM
> To: Ruud Vlaming; avr-chat@nongnu.org
> Subject: RE: [avr-chat] Is this efficient?
> 
> The _SFR_IO_REG_P() macro is designed to be used in the C 
> code itself, not in any preprocessor statements. Something like:
> 
> if _SFR_IO_REG_P(TIMSK)

Obvious missing parens:

> if (_SFR_IO_REG_P(TIMSK))


_______________________________________________
AVR-chat mailing list
AVR-chat@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to