added ifndef for 2560

This commit is contained in:
johnnyr 2010-12-08 13:29:27 -08:00
parent 1931376e4c
commit ad612ac4e6

View file

@ -193,8 +193,11 @@
* *
****************************************************************************************/ ****************************************************************************************/
#elif MOTHERBOARD == 3 #elif MOTHERBOARD == 3
//////////////////FIX THIS//////////////
#ifndef __AVR_ATmega1280__ #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 #endif
#define X_STEP_PIN 26 #define X_STEP_PIN 26