avr-libc-dev
[Top][All Lists]
Advanced

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

Re: [avr-libc-dev] Why include <ina90.h> from <avr/pgmspace.h>?


From: E. Weddington
Subject: Re: [avr-libc-dev] Why include <ina90.h> from <avr/pgmspace.h>?
Date: Mon, 07 Oct 2002 10:57:56 -0600

On 7 Oct 2002 at 9:41, Theodore A. Roth wrote:

> 
> 
> 
> I think you might be mis-interpreting what I did. 

You're *absolutely* right. :-) 

(Thanks for the link, I was having a difficult time trying to find 
the reference.)

> 
> At the end of avr/io.h is this:
> 
> #elif defined (__AVR_ATtiny11__)
> #  include <avr/iotn11.h>
> #else
> #  warning "device type not defined"
> /* #  include <avr/io8515.h> */
> #endif
> 
> Which might be close, but not quite, what you're thinking.

Spot on. So... it's a warning not an error. But you'd have to take 
into account the above when including <io.h> without a defined device 
type.

Thanks

Eric






reply via email to

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