[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-chat] Is this efficient?
From: |
Weddington, Eric |
Subject: |
RE: [avr-chat] Is this efficient? |
Date: |
Fri, 3 Oct 2008 12:03:30 -0600 |
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden
> On Behalf Of Weddington, Eric
> Sent: Friday, October 03, 2008 11:57 AM
> To: Ruud Vlaming; address@hidden
> 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))