bugAVR C Runtime Library - Bugs: bug #28573, power.h: power_timer2_disable()...

 
 

bug #28573: power.h: power_timer2_disable() for at90usb82\162

Submitted by:  Eric Weddington <arcanum>
Submitted on:  Tue 12 Jan 2010 10:31:39 PM UTC  
 
Category: HeaderSeverity: 3 - Normal
Priority: 9 - ImmediateItem Group: Header files
Status: FixedPercent Complete: 0%
Assigned to: Anitha Boyapati <aboyapati>Open/Closed: Closed
Release: 1.6.7Fixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 07 Apr 2010 04:17:10 AM UTC, comment #2:

Setting to closed.

Eric Weddington <arcanum>
Project Administrator
Tue 06 Apr 2010 08:40:24 AM UTC, comment #1:

Looks like this is fixed in revision 2017.

http://svn.savannah.gnu.org/viewvc/trunk/avr-libc/include/avr/power.h?root=avr-libc&r1=1955&r2=2017&pathrev=2118

Anitha Boyapati <aboyapati>In charge of this item.
Tue 12 Jan 2010 10:31:39 PM UTC, original submission:

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))

Eric Weddington <arcanum>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -unavailable- added by aboyapati (Posted a comment)
  • -unavailable- added by arcanum (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 10 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 07 Apr 2010 04:17:10 AM UTCarcanumOpen/ClosedOpen=>Closed
      Summarypower.h: power_timer2_disable() for at90usb82\\162=>power.h: power_timer2_disable() for at90usb82\162
    Tue 06 Apr 2010 10:20:29 AM UTCaboyapatiDependencies-=>bugs #28394 is dependent
    Tue 06 Apr 2010 08:40:24 AM UTCaboyapatiStatusNone=>Fixed
      Assigned toNone=>aboyapati
      Summarypower.h: power_timer2_disable() for at90usb82\\162=>power.h: power_timer2_disable() for at90usb82\162
    Mon 29 Mar 2010 05:30:17 PM UTCarcanumPriority5 - Normal=>9 - Immediate
      Summarypower.h: power_timer2_disable() for at90usb82\\162=>power.h: power_timer2_disable() for at90usb82\162
    Wed 13 Jan 2010 05:01:56 AM UTCarcanumCategoryNone=>Header
      Summarypower.h: power_timer2_disable() for at90usb82\\162=>power.h: power_timer2_disable() for at90usb82\162

    Back to the top


    Powered by Savane 3.1-cleanup1