Browse Source

Minor patches to pins files

Scott Lahteine 7 years ago
parent
commit
c7b07d20f2
2 changed files with 3 additions and 4 deletions
  1. 2
    4
      Marlin/pins_GEN6.h
  2. 1
    0
      Marlin/pins_GT2560_REV_A_PLUS.h

+ 2
- 4
Marlin/pins_GEN6.h View File

51
  *
51
  *
52
  */
52
  */
53
 
53
 
54
-#ifndef __AVR_ATmega644P__
55
-  #ifndef __AVR_ATmega1284P__
56
-    #error "Oops!  Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu."
57
-  #endif
54
+#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega1284P__)
55
+  #error "Oops!  Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu."
58
 #endif
56
 #endif
59
 
57
 
60
 #ifndef BOARD_NAME
58
 #ifndef BOARD_NAME

+ 1
- 0
Marlin/pins_GT2560_REV_A_PLUS.h View File

26
 
26
 
27
 #include "pins_GT2560_REV_A.h"
27
 #include "pins_GT2560_REV_A.h"
28
 
28
 
29
+#undef BOARD_NAME
29
 #define BOARD_NAME  "GT2560 Rev.A+"
30
 #define BOARD_NAME  "GT2560 Rev.A+"
30
 
31
 
31
 #define SERVO0_PIN  11
32
 #define SERVO0_PIN  11

Loading…
Cancel
Save