|
@@ -475,7 +475,9 @@
|
475
|
475
|
#define KNOWN_BOARD 1
|
476
|
476
|
|
477
|
477
|
#ifndef __AVR_ATmega644P__
|
478
|
|
- #error Oops! Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu.
|
|
478
|
+#ifndef __AVR_ATmega1284P__
|
|
479
|
+#error Oops! Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu.
|
|
480
|
+#endif
|
479
|
481
|
#endif
|
480
|
482
|
|
481
|
483
|
//x axis pins
|
|
@@ -546,8 +548,10 @@
|
546
|
548
|
#if MOTHERBOARD == 6
|
547
|
549
|
#define KNOWN_BOARD 1
|
548
|
550
|
#ifndef __AVR_ATmega644P__
|
|
551
|
+#ifndef __AVR_ATmega1284P__
|
549
|
552
|
#error Oops! Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu.
|
550
|
553
|
#endif
|
|
554
|
+#endif
|
551
|
555
|
|
552
|
556
|
#define X_STEP_PIN 15
|
553
|
557
|
#define X_DIR_PIN 21
|
|
@@ -867,8 +871,10 @@
|
867
|
871
|
#define MOTHERBOARD 6
|
868
|
872
|
#define KNOWN_BOARD 1
|
869
|
873
|
#ifndef __AVR_ATmega644P__
|
|
874
|
+#ifndef __AVR_ATmega1284P__
|
870
|
875
|
#error Oops! Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu.
|
871
|
876
|
#endif
|
|
877
|
+#endif
|
872
|
878
|
|
873
|
879
|
#define X_STEP_PIN 15
|
874
|
880
|
#define X_DIR_PIN 18
|