Follow-up Comment #7, bug #28756 (project avr-libc): I have tested out Joerg's snippet with -mmcu=atmega128rfa1 -W -Wall, using WinAVR. With WinAVR-20090313, you get an error ("clock_div_1" undeclared, and a warning implicit declaration of function "clock_prescale_set"). This particular avr is missing from the list for the clock prescale micros.
With the WinAVR-20100110, the newer version of the library has this included, and the code compiles fine. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?28756> _______________________________________________ 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