Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix build on Sanguino based boards with ATmega1284P

  • Loading branch information...
commit 7b14953c99bb33764eb8f70136349231e3bce72a 1 parent 286d500
Changwoo Ryu authored February 27, 2012

Showing 1 changed file with 7 additions and 1 deletion. Show diff stats Hide diff stats

  1. 8  Marlin/pins.h
8  Marlin/pins.h
@@ -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

0 notes on commit 7b14953

Please sign in to comment.
Something went wrong with that request. Please try again.