aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2010-07-10 21:07:51 +0000
committerDavid A. Mellis <d.mellis@arduino.cc>2010-07-10 21:07:51 +0000
commitcd94d8dc6ed0e59f707c54636a9c8ae900d3aa17 (patch)
treeb7227f65a00be9feed2e72d53924e7933580ea58
parent9f1e60ffa00d3f570358554b225d4e99a42e274f (diff)
INTERNAL -> INTERNAL1V1 AND INTERNAL2V56 on the Mega (issue #194).
-rwxr-xr-xcores/arduino/wiring.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cores/arduino/wiring.h b/cores/arduino/wiring.h
index edc9704..d0ce1c3 100755
--- a/cores/arduino/wiring.h
+++ b/cores/arduino/wiring.h
@@ -57,7 +57,12 @@ extern "C"{
#define FALLING 2
#define RISING 3
+#if defined(__AVR_ATmega1280__)
+#define INTERNAL1V1 2
+#define INTERNAL2V56 3
+#else
#define INTERNAL 3
+#endif
#define DEFAULT 1
#define EXTERNAL 0