As Stu Bell wrote:

> As a "just in case" I recommend:
> 
>     inline void Set_cpu_prescaler(clock_div_t x)
> __attribute__((always_inline));

It would completely suffice to change the USB code header file
to

#define Set_cpu_prescaler(x) clock_prescale_set(x)

The parentheses there around clock_prescale_set() are completely
pointless, and caused the compiler to complain with recent versions of
the clock_prescale_set() macro implementation.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to