URL:
<http://savannah.nongnu.org/bugs/?30783>
Summary: Missing prototype in power.h
Project: AVR C Runtime Library
Submitted by: nomanor
Submitted on: So 15 Aug 2010 22:33:50 GMT
Category: Header
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Header files
Status: None
Percent Complete: 0%
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Release: 1.7.0
Fixed Release: None
_______________________________________________________
Details:
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
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: So 15 Aug 2010 22:33:50 GMT Name: power.h Size: 61kB By: nomanor
power.h with added protopye
<http://savannah.nongnu.org/bugs/download.php?file_id=21228>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?30783>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev