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

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

[avr-libc-dev] Commit: fix for bug #8119


From: Joerg Wunsch
Subject: [avr-libc-dev] Commit: fix for bug #8119
Date: Tue, 13 Apr 2004 23:28:21 +0200
User-agent: Mutt/1.2.5i

I just committed the attaached patch to HEAD.  This closes bug # 8119.
I've tested this to work on an STK502 example setup.

This is also due for a merge to the 1.0 branch.

Unfortunately, as the submitter of the bug report already noticed, the
preprocessor magic using _SFR_IO_REG_P() cannot be used for an #if
statement since it contains C typecasts which will cause a compilation
error.  So instead, hardcode it based on the __AVR_ATmega169__
definition instead (which is by now the only AVR that has a WDTCR
above IO address 0x40).  -- J"org Wunsch Unix support engineer
address@hidden http://www.interface-systems.de/~j/

Attachment: wdt.h.diff
Description: Text document


reply via email to

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