URL:
<http://savannah.nongnu.org/bugs/?20530>
Summary: Bug in sample code for early wdt disable
Project: AVR C Runtime Library
Submitted by: haraldkipp
Submitted on: Thursday 07/19/2007 at 11:05
Category: Documentation
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Documentation
Status: None
Privacy: Public
Percent Complete: 0%
Assigned to: None
Originator Email: [EMAIL PROTECTED]
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
The sample code given in include/avr/wdt.h doesn't take into account, that
the global variable will be cleared in .init4. Adding the section attribute
.noinit will fix this.
uint8_t mcusr_mirror __attribute__ ((section (".noinit")));
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?20530>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev