From ad612ac4e6a4da2c6928eb847069cd9bd3ba6de8 Mon Sep 17 00:00:00 2001 From: johnnyr Date: Wed, 8 Dec 2010 13:29:27 -0800 Subject: added ifndef for 2560 --- Tonokip_Firmware/pins.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1