[gnoduino: 224/237] Updated reference voltage defines for ATmega1284P.
- From: Lucian Langa <lucilanga src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnoduino: 224/237] Updated reference voltage defines for ATmega1284P.
- Date: Sat, 31 Mar 2012 20:33:40 +0000 (UTC)
commit 188dccc15029f31591efc2e8a1f7748820f33e4d
Author: David A. Mellis <d mellis arduino cc>
Date: Fri Dec 2 17:18:15 2011 -0500
Updated reference voltage defines for ATmega1284P.
http://code.google.com/p/arduino/issues/detail?id=728
arduino/cores/arduino/Arduino.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/arduino/cores/arduino/Arduino.h b/arduino/cores/arduino/Arduino.h
index ebd374a..c05b919 100755
--- a/arduino/cores/arduino/Arduino.h
+++ b/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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]