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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #30783: Missing prototype in power.h

Submitter:  AndrĂ© <nomanor>
Submitted:  Sun 15 Aug 2010 10:33:50 PM UTC
   
 
Category:  Header Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Header files
Status:  Fixed Assigned to:  joerg_wunsch
Percent Complete:  0% Open/Closed:  Closed
Release:  1.7.0 Fixed Release:  1.6.1

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

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
  • -email is unavailable- added by joerg_wunsch (Updated the item)
  • -email is unavailable- added by nomanor (Submitted the item)
  •  

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-08-16 joerg_wunsch StatusNone Fixed
    2010-08-16 joerg_wunsch Assigned toNone joerg_wunsch
        Open/ClosedOpen Closed
        Fixed ReleaseNone 1.6.1
    2010-08-15 nomanor Attached File- Added power.h, #21228

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code