URL: <http://savannah.nongnu.org/bugs/?28394>
Summary: AT90USB82/162 power.h wrong macros Project: AVR C Runtime Library Submitted by: timurgilfanov Submitted on: Чтв 24 Дек 2009 10:04:06 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.6.7 Fixed Release: None _______________________________________________________ Details: In /avr-libc-1.6.7/include/avr/power.h at line 1140 and 1141 write: #define power_timer1_enable() (PRR0 &= (uint8_t)~(1 << PRTIM1)) #define power_timer2_disable() (PRR0 |= (uint8_t)(1 << PRTIM1)) Right macros is power_timer1_disable(). _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?28394> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/ _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-libc-dev