[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #28394] AT90USB82/162 power.h wrong macros

From: Timur Gilfanov
Subject: [avr-libc-dev] [bug #28394] AT90USB82/162 power.h wrong macros
Date: Thu, 24 Dec 2009 10:04:07 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; ru; rv: Gecko/20091215 Ubuntu/9.10 (karmic) Firefox/3.5.6


                 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



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:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]