Follow-up Comment #6, bug #28756 (project avr-libc):

Thanks for the error message.  Still, I cannot reproduce
the problem.  For reference, this is my source code file:


#include "power.h"

void prescaler_1(void)
{
  clock_prescale_set(clock_div_1);
}


and compile it with

avr-gcc -O -mmcu=atmega1281 -c clkpr.c

I get a working result, regardless of whether I'm using either
of your submitted power.h include files (where one is the
stock power.h from avr-libc 1.6.6, and the other one is
your edited version from avr-libc 1.6.7), or the file from
CVS (either HEAD or the 1.6 branch, both files are the same).

    _______________________________________________________

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

Reply via email to