From a9d1368e4c424f17d7d77efeb666f2f7734c7b93 Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Fri, 2 Dec 2011 17:18:15 -0500 Subject: Updated reference voltage defines for ATmega1284P. http://code.google.com/p/arduino/issues/detail?id=728 --- cores/arduino/Arduino.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cores/arduino') diff --git a/cores/arduino/Arduino.h b/cores/arduino/Arduino.h index ebd374a..c05b919 100755 --- a/cores/arduino/Arduino.h +++ b/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 -- cgit v1.2.3-18-g5258