Hi,

  Including power.h and compiling for an atmega88 device with the latest
  avr-libc fails because of an extra \ in the nested conditional directive for 
  RFA/RFR devices.
  
  The attached (trivial) patch fixes this - I thought it wasn't worth
  filing this as a bug. If ok, could someone commit please?

  Regards
  Senthil


Index: include/avr/power.h
===================================================================
--- include/avr/power.h (revision 2401)
+++ include/avr/power.h (working copy)
@@ -1642,7 +1642,7 @@
 || defined(__AVR_ATmega644RFR2__) \
 || defined(__AVR_ATmega256RFR2__) \
 || defined(__AVR_ATmega128RFR2__) \
-|| defined(__AVR_ATmega64RFR2__) \
+|| defined(__AVR_ATmega64RFR2__) 
     , clock_div_1_rc = 15
 #endif
 } clock_div_t;


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

Reply via email to