URL:
<http://savannah.nongnu.org/bugs/?28573>
Summary: power.h: power_timer2_disable() for at90usb82\162
Project: AVR C Runtime Library
Submitted by: arcanum
Submitted on: Tue 12 Jan 2010 03:31:39 PM MST
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Header files
Status: None
Percent Complete: 0%
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Release: 1.6.7
Fixed Release: None
_______________________________________________________
Details:
>From WinAVR bug #2883111 (SourceForge):
Is mistake in file avr\include\avr\power.h on line 1137:
#define power_timer1_enable() (PRR0 &= (uint8_t)~(1 << PRTIM1))
#define power_timer2_disable() (PRR0 |= (uint8_t)(1 << PRTIM1))
Right write 1 instead of 2:
#define power_timer1_enable() (PRR0 &= (uint8_t)~(1 << PRTIM1))
#define power_timer1_disable() (PRR0 |= (uint8_t)(1 << PRTIM1))
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?28573>
_______________________________________________
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