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 mailing list AVR-libc-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-libc-dev