From eb380de9726d90d937f2d70d4b94bb60578316c7 Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Fri, 2 Dec 2011 17:18:15 -0500 Subject: [PATCH] Updated reference voltage defines for ATmega1284P. http://code.google.com/p/arduino/issues/detail?id=728 --- hardware/arduino/cores/arduino/Arduino.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hardware/arduino/cores/arduino/Arduino.h b/hardware/arduino/cores/arduino/Arduino.h index ebd374a74..c05b91932 100755 --- a/hardware/arduino/cores/arduino/Arduino.h +++ b/hardware/arduino/cores/arduino/Arduino.h @@ -45,7 +45,7 @@ extern "C"{ #define EXTERNAL 1 #define INTERNAL 2 #else -#if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__) +#if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__) || defined(__AVR_ATmega1284P__) #define INTERNAL1V1 2 #define INTERNAL2V56 3 #else @@ -211,4 +211,4 @@ long map(long, long, long, long, long); #include "pins_arduino.h" -#endif \ No newline at end of file +#endif