diff options
author | David A. Mellis <d.mellis@arduino.cc> | 2010-07-10 21:07:51 +0000 |
---|---|---|
committer | David A. Mellis <d.mellis@arduino.cc> | 2010-07-10 21:07:51 +0000 |
commit | cd94d8dc6ed0e59f707c54636a9c8ae900d3aa17 (patch) | |
tree | b7227f65a00be9feed2e72d53924e7933580ea58 /cores/arduino/wiring.h | |
parent | 9f1e60ffa00d3f570358554b225d4e99a42e274f (diff) |
INTERNAL -> INTERNAL1V1 AND INTERNAL2V56 on the Mega (issue #194).
Diffstat (limited to 'cores/arduino/wiring.h')
-rwxr-xr-x | cores/arduino/wiring.h | 5 |
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 |