|
From: | Eric Weddington |
Subject: | [avr-libc-dev] [bug #28573] power.h: power_timer2_disable() for at90usb82\162 |
Date: | Tue, 12 Jan 2010 22:31:40 +0000 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729) |
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/
[Prev in Thread] | Current Thread | [Next in Thread] |