bugAVR C Runtime Library - Bugs: bug #30783, Missing prototype in power.h

 
 

bug #30783: Missing prototype in power.h

Submitted by:  AndrĂ© <nomanor>
Submitted on:  Sun 15 Aug 2010 10:33:50 PM UTC  
 
Category: HeaderSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Header files
Status: FixedPercent Complete: 0%
Assigned to: Joerg Wunsch <joerg_wunsch>Open/Closed: Closed
Release: 1.7.0Fixed Release: 1.6.1

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 15 Aug 2010 10:33:50 PM UTC, original submission:

At the end of power.h the prototype for clock_prescale_set is missing for ATtiny24 and other tinys. In the #if block for the ATmegas is this protoype:

static _inline_ void clock_prescale_set(clock_div_t) _attribute_((_always_inline_));

which is missing for the tinys and gives a multiple definitions error when compiling. The above prototype has to be inserted around line 1489

André <nomanor>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #21228:  power.h added by nomanor (61KiB - text/x-chdr - power.h with added protopye)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by joerg_wunsch (Updated the item)
  • -unavailable- added by nomanor (Submitted the item)
  •  

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

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 16 Aug 2010 04:16:41 AM UTCjoerg_wunschStatusNone=>Fixed
    Mon 16 Aug 2010 04:15:59 AM UTCjoerg_wunschAssigned toNone=>joerg_wunsch
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>1.6.1
    Sun 15 Aug 2010 10:33:50 PM UTCnomanorAttached File-=>Added power.h, #21228

    Back to the top


    Powered by Savane 3.1-cleanup1