Follow-up Comment #1, patch #8557 (project avr-libc): Alternatively can we move all the SLEEP_MODE macros to the respective device header file ?
This should help us reduce some of the conditions defined in sleep.h. After this, we can generalize the set_sleep_mode() macro based on more simpler conditions (like if HAVE_THIS). But there are specific cases (e.x ATmega161) which we have to live with ! _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/patch/?8557> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/ _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-libc-dev