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

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

[avr-libc-dev] RfR: <avr/timer.h>


From: Joerg Wunsch
Subject: [avr-libc-dev] RfR: <avr/timer.h>
Date: Thu, 12 Feb 2004 22:29:24 +0100
User-agent: Mutt/1.2.5i

RfR -- request for removal. ;-)

See

https://savannah.nongnu.org/patch/?func=detailitem&item_id=2106

for the problem.  <avr/timer.h> is completely wrong for the ATmega128,
and perhaps also for other devices.  It offers a very primitive
handling only for timer0 anyway.  I just don't think maintaining this
file is worth the while at all.

We have to keep it in the 1.0 branch, of course, but maybe we should
just add

#if defined(__AVR_ATmega128__) || defined(__AVR_ATmega64__)
# warn "This file is incorrect for your MCU type"
#endif

there.
-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/




reply via email to

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