avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Re: Inline vs. ? : operator


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] Re: Inline vs. ? : operator
Date: Tue, 30 Mar 2010 19:56:27 +0200 (MET DST)

"Weddington, Eric" <address@hidden> wrote:

> It must include a buildable test case that shows the alleged issue.

The code shown in the initial posting almost qualifies as such.  It
should simply extract the define out of the header file, and place it
on top of the code:

#define PORTA (*(volatile unsigned char *)0x3b)

By doing that, the remainder of <avr/io.h> can be omitted.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]