[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [bugs #11510] WDCE used in wdt.h for device which doesn't
From: |
anonymous |
Subject: |
[avr-libc-dev] [bugs #11510] WDCE used in wdt.h for device which doesn't have the bit in WDTCR |
Date: |
Thu, 06 Jan 2005 16:47:10 -0500 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 |
This mail is an automated notification from the bugs tracker
of the project: AVR C Runtime Library.
/**************************************************************************/
[bugs #11510] Full Item Snapshot:
URL: <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=11510>
Project: AVR C Runtime Library
Submitted by: 0
On: Don 06.01.2005 at 21:34
Category: Library
Severity: 5 - Average
Priority: 5 - Normal
Item Group: None
Resolution: None
Privacy: Public
Percent Complete: 0%
Assigned to: None
Originator Email: address@hidden
Status: Open
Summary: WDCE used in wdt.h for device which doesn't have the bit in WDTCR
Original Submission: Found the following bug during compile of watchdog
related code on ATmega32 using wdt.h version:
/* $Id: wdt.h,v 1.9 2004/11/08 23:52:28 arcanum Exp $ */
from avr-libc v1.2.0
Both macros _wdt_write(value) using the WDCE bit:
: /* no outputs */
: "I" (_SFR_IO_ADDR(_WD_CONTROL_REG)),
"r" (_BV(WDCE) | _BV(WDE)),
it's OK for device which WDCE bit, but not for example the ATmega32.
The code will compile with error: `WDCE' undeclared...
For detailed info, follow this link:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=11510>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [avr-libc-dev] [bugs #11510] WDCE used in wdt.h for device which doesn't have the bit in WDTCR,
anonymous <=