[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] Commit: fix for bug #8119
From: |
Theodore A. Roth |
Subject: |
Re: [avr-libc-dev] Commit: fix for bug #8119 |
Date: |
Tue, 13 Apr 2004 14:52:34 -0700 (PDT) |
On Tue, 13 Apr 2004, Joerg Wunsch wrote:
> 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).
Looks fine for 1.0. Don't forget the NEWS update for bugs.
---
Ted Roth
PGP Key ID: 0x18F846E9
Jabber ID: address@hidden