[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [bug #33230] Sleep modes have incorrect names for ATtiny2
From: |
Luca Matteini |
Subject: |
[avr-libc-dev] [bug #33230] Sleep modes have incorrect names for ATtiny261/461/861 |
Date: |
Wed, 04 May 2011 16:27:21 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 |
URL:
<http://savannah.nongnu.org/bugs/?33230>
Summary: Sleep modes have incorrect names for
ATtiny261/461/861
Project: AVR C Runtime Library
Submitted by: loucypher
Submitted on: mer 04 mag 2011 16:27:20 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.1
Fixed Release: None
_______________________________________________________
Details:
Sleep mode definitions for ATtiny261/461/861, defined in sleep.h, have an
incorrect entry
SLEEP_MODE_PWR_SAVE
while for compatibility with Atmel data sheet (doc8197.pdf, rev.B), and
similar name on other devices, it should be
SLEEP_MODE_STANDBY
as it is for ATtiny26
Practically, the conditionals in sleep.h for
-------------------------------------
|| defined(__AVR_ATtiny261__)
|| defined(__AVR_ATtiny261A__)
|| defined(__AVR_ATtiny461__)
|| defined(__AVR_ATtiny461A__)
|| defined(__AVR_ATtiny861__)
|| defined(__AVR_ATtiny861A__)
-------------------------------------
should be moved in the same conditional test for ATtiny26
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?33230>
_______________________________________________
Messaggio inviato con/da Savannah
http://savannah.nongnu.org/
- [avr-libc-dev] [bug #33230] Sleep modes have incorrect names for ATtiny261/461/861,
Luca Matteini <=