Browse Source

Patch pins files hotends/e-steppers sanity check

Scott Lahteine 7 years ago
parent
commit
edf18977c1

+ 2
- 2
Marlin/pins_AZTEEG_X3.h View File

@@ -24,8 +24,8 @@
24 24
  * AZTEEG_X3 Arduino Mega with RAMPS v1.4 pin assignments
25 25
  */
26 26
 
27
-#if HOTENDS > 2
28
-  #error "Azteeg X3 supports up to 2 hotends. Comment this line to keep going."
27
+#if HOTENDS > 2 || E_STEPPERS > 2
28
+  #error "Azteeg X3 supports up to 2 hotends / E-steppers. Comment out this line to continue."
29 29
 #endif
30 30
 
31 31
 #define BOARD_NAME "Azteeg X3"

+ 2
- 2
Marlin/pins_BAM_DICE_DUE.h View File

@@ -24,8 +24,8 @@
24 24
  * BAM&DICE Due (Arduino Mega) pin assignments
25 25
  */
26 26
 
27
-#if HOTENDS > 2
28
-  #error "2PrintBeta Due supports up to 2 hotends. Comment this line to keep going."
27
+#if HOTENDS > 2 || E_STEPPERS > 2
28
+  #error "2PrintBeta Due supports up to 2 hotends / E-steppers. Comment out this line to continue."
29 29
 #endif
30 30
 
31 31
 #define BOARD_NAME "2PrintBeta Due"

+ 2
- 2
Marlin/pins_FELIX2.h View File

@@ -24,8 +24,8 @@
24 24
  * FELIXprinters v2.0/3.0 (RAMPS v1.4) pin assignments
25 25
  */
26 26
 
27
-#if HOTENDS > 2
28
-  #error "Felix 2.0+ supports up to 2 hotends. Comment this line to keep going."
27
+#if HOTENDS > 2 || E_STEPPERS > 2
28
+  #error "Felix 2.0+ supports up to 2 hotends / E-steppers. Comment out this line to continue."
29 29
 #endif
30 30
 
31 31
 #define BOARD_NAME "Felix 2.0+"

+ 2
- 2
Marlin/pins_MEGACONTROLLER.h View File

@@ -28,8 +28,8 @@
28 28
   #error "Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
29 29
 #endif
30 30
 
31
-#if E_STEPPERS > 2 || HOTENDS > 2
32
-  #error "Mega Controller supports up to 2 hotends / E-steppers. Comment this line to keep going."
31
+#if HOTENDS > 2 || E_STEPPERS > 2
32
+  #error "Mega Controller supports up to 2 hotends / E-steppers. Comment out this line to continue."
33 33
 #endif
34 34
 
35 35
 #define BOARD_NAME "Mega Controller"

+ 2
- 2
Marlin/pins_MINITRONICS.h View File

@@ -28,8 +28,8 @@
28 28
   #error "Oops!  Make sure you have 'Minitronics' selected from the 'Tools -> Boards' menu."
29 29
 #endif
30 30
 
31
-#if HOTENDS > 2
32
-  #error "Minitronics supports up to 2 hotends. Comment this line to keep going."
31
+#if HOTENDS > 2 || E_STEPPERS > 2
32
+  #error "Minitronics supports up to 2 hotends / E-steppers. Comment out this line to continue."
33 33
 #endif
34 34
 
35 35
 #define BOARD_NAME         "Minitronics v1.0 / v1.1"

+ 2
- 2
Marlin/pins_MKS_13.h View File

@@ -29,8 +29,8 @@
29 29
  *  MKS v1.4  (Extruder, Extruder, Fan, Bed)
30 30
  */
31 31
 
32
-#if HOTENDS > 2
33
-  #error "MKS 1.3/1.4 supports up to 2 hotends. Comment this line to keep going."
32
+#if HOTENDS > 2 || E_STEPPERS > 2
33
+  #error "MKS 1.3/1.4 supports up to 2 hotends / E-steppers. Comment out this line to continue."
34 34
 #endif
35 35
 
36 36
 #define BOARD_NAME "MKS > v1.3"

+ 2
- 2
Marlin/pins_MKS_BASE.h View File

@@ -24,8 +24,8 @@
24 24
  * MKS BASE 1.0 – Arduino Mega2560 with RAMPS v1.4 pin assignments
25 25
  */
26 26
 
27
-#if HOTENDS > 2
28
-  #error "MKS BASE 1.0 supports up to 2 hotends. Comment this line to keep going."
27
+#if HOTENDS > 2 || E_STEPPERS > 2
28
+  #error "MKS BASE 1.0 supports up to 2 hotends / E-steppers. Comment out this line to continue."
29 29
 #endif
30 30
 
31 31
 #define BOARD_NAME "MKS BASE 1.0"

+ 2
- 2
Marlin/pins_RUMBA.h View File

@@ -28,8 +28,8 @@
28 28
   #error "Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
29 29
 #endif
30 30
 
31
-#if E_STEPPERS > 3 || HOTENDS > 3
32
-  #error "RUMBA supports up to 3 hotends / E-steppers. Comment this line to keep going."
31
+#if HOTENDS > 3 || E_STEPPERS > 3
32
+  #error "RUMBA supports up to 3 hotends / E-steppers. Comment out this line to continue."
33 33
 #endif
34 34
 
35 35
 #define DEFAULT_MACHINE_NAME "Rumba"

+ 2
- 2
Marlin/pins_SAINSMART_2IN1.h View File

@@ -24,8 +24,8 @@
24 24
  *  Sainsmart 2-in-1 pin assignments
25 25
  */
26 26
 
27
-#if HOTENDS > 2
28
-  #error "Sainsmart 2-in-1 supports up to 2 hotends. Comment this line to keep going."
27
+#if HOTENDS > 2 || E_STEPPERS > 2
28
+  #error "Sainsmart 2-in-1 supports up to 2 hotends / E-steppers. Comment out this line to continue."
29 29
 #endif
30 30
 
31 31
 #define BOARD_NAME "Sainsmart"

Loading…
Cancel
Save