bugAVR C Runtime Library - Bugs: bug #28576, ATmega16U4 missing in power.h

 
 

bug #28576: ATmega16U4 missing in power.h

Submitted by:  Eric Weddington <arcanum>
Submitted on:  Tue 12 Jan 2010 10:45:53 PM UTC  
 
Category: HeaderSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Header files
Status: FixedPercent Complete: 100%
Assigned to: Eric Weddington <arcanum>Open/Closed: Closed
Release: 1.6.7Fixed Release: 1.6.2

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 12 Mar 2010 06:17:44 PM UTC, comment #1:

Already fixed in HEAD.

Eric Weddington <arcanum>
Project AdministratorIn charge of this item.
Tue 12 Jan 2010 10:45:53 PM UTC, original submission:

From WinAVR bug #2812125 (SourceForge):

Problem:
In power.h (/* $Id: power.h,v 1.11.2.20 2009/02/19 21:10:54 arcanum Exp $
*/)
clock_div_t, clock_prescale_set() and clock_prescale_get() not defined for
ATmega16U4.

Suggested solution:
Add:
|| defined(_AVR_ATmega16U4_) \

Test:
Solution NOT tested on actual hardware but what works for ATmega32U4 is
usually fine by ATmega16U4 (they share datasheet). Will test on ATmega16U4
soon.

Eric Weddington <arcanum>
Project AdministratorIn charge of this item.

 

(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

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by arcanum (Submitted the item)
  •  

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

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 12 Mar 2010 06:17:44 PM UTCarcanumStatusNone=>Fixed
      Percent Complete0%=>100%
      Assigned toNone=>arcanum
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>1.6.2
    Wed 13 Jan 2010 05:00:09 AM UTCarcanumCategoryNone=>Header

    Back to the top


    Powered by Savane 3.1-cleanup1