aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2011-12-02 17:18:15 -0500
committerDavid A. Mellis <d.mellis@arduino.cc>2011-12-02 17:18:15 -0500
commita9d1368e4c424f17d7d77efeb666f2f7734c7b93 (patch)
treecc89f571d0e11f2e19f453a864de72e51c94fbe9
parentc2263dfc0b7a30c3f85916ae4b093feb770aca15 (diff)
Updated reference voltage defines for ATmega1284P.
http://code.google.com/p/arduino/issues/detail?id=728
-rwxr-xr-xcores/arduino/Arduino.h4
1 files changed, 2 insertions, 2 deletions
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