AVR 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 |
Attached Files
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
Follow 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2010-08-16 | joerg_wunsch | Status | None | Fixed | |
2010-08-16 | joerg_wunsch | Assigned to | None | joerg_wunsch | |
Open/Closed | Open | Closed | |||
Fixed Release | None | 1.6.1 | |||
2010-08-15 | nomanor | Attached File | - | Added power.h, #21228 |
Powered by Savane 3.13-caa5.
Corresponding source code
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