summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjohnnyr <thehdesk@gmail.com>2010-12-08 13:29:27 -0800
committerjohnnyr <thehdesk@gmail.com>2010-12-08 13:29:27 -0800
commitad612ac4e6a4da2c6928eb847069cd9bd3ba6de8 (patch)
treebae8931e861c9fb289632e90bef0102c2288e607
parent1931376e4c20756c065de8e3048dc282b4adca0d (diff)
added ifndef for 2560
-rw-r--r--Tonokip_Firmware/pins.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Tonokip_Firmware/pins.h b/Tonokip_Firmware/pins.h
index 65ac6a1..adc5f71 100644
--- a/Tonokip_Firmware/pins.h
+++ b/Tonokip_Firmware/pins.h
@@ -193,8 +193,11 @@
*
****************************************************************************************/
#elif MOTHERBOARD == 3
+//////////////////FIX THIS//////////////
#ifndef __AVR_ATmega1280__
-#error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
+ #ifndef __AVR_ATmega2560__
+ #error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
+ #endif
#endif
#define X_STEP_PIN 26