Browse Source

Update, correct sanity-checks for up to 6 extruders (#12333)

Ludy 6 years ago
parent
commit
c10edb0998
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      Marlin/src/inc/SanityCheck.h

+ 6
- 6
Marlin/src/inc/SanityCheck.h View File

611
  */
611
  */
612
 #if EXTRUDERS > 1
612
 #if EXTRUDERS > 1
613
 
613
 
614
-  #if EXTRUDERS > 5
615
-    #error "Marlin supports a maximum of 5 EXTRUDERS."
614
+  #if EXTRUDERS > 6
615
+    #error "Marlin supports a maximum of 6 EXTRUDERS."
616
   #endif
616
   #endif
617
 
617
 
618
   #if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT)
618
   #if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT)
1303
       #endif
1303
       #endif
1304
       #if HOTENDS > 4
1304
       #if HOTENDS > 4
1305
         #if TEMP_SENSOR_4 == 0
1305
         #if TEMP_SENSOR_4 == 0
1306
-          #error "TEMP_SENSOR_4 is required with 5 HOTENDS."
1306
+          #error "TEMP_SENSOR_4 is required with 5 or more HOTENDS."
1307
         #elif !HAS_HEATER_4
1307
         #elif !HAS_HEATER_4
1308
           #error "HEATER_4_PIN not defined for this board."
1308
           #error "HEATER_4_PIN not defined for this board."
1309
         #elif !PIN_EXISTS(TEMP_4)
1309
         #elif !PIN_EXISTS(TEMP_4)
1311
         #endif
1311
         #endif
1312
         #if HOTENDS > 5
1312
         #if HOTENDS > 5
1313
           #if TEMP_SENSOR_5 == 0
1313
           #if TEMP_SENSOR_5 == 0
1314
-            #error "TEMP_SENSOR_5 is required with 5 HOTENDS."
1314
+            #error "TEMP_SENSOR_5 is required with 6 HOTENDS."
1315
           #elif !HAS_HEATER_5
1315
           #elif !HAS_HEATER_5
1316
             #error "HEATER_5_PIN not defined for this board."
1316
             #error "HEATER_5_PIN not defined for this board."
1317
           #elif !PIN_EXISTS(TEMP_5)
1317
           #elif !PIN_EXISTS(TEMP_5)
1323
       #elif TEMP_SENSOR_4 != 0
1323
       #elif TEMP_SENSOR_4 != 0
1324
         #error "TEMP_SENSOR_4 shouldn't be set with only 4 HOTENDS."
1324
         #error "TEMP_SENSOR_4 shouldn't be set with only 4 HOTENDS."
1325
       #elif TEMP_SENSOR_5 != 0
1325
       #elif TEMP_SENSOR_5 != 0
1326
-        #error "TEMP_SENSOR_5 shouldn't be set with only 5 HOTENDS."
1326
+        #error "TEMP_SENSOR_5 shouldn't be set with only 4 HOTENDS."
1327
       #endif
1327
       #endif
1328
     #elif TEMP_SENSOR_3 != 0
1328
     #elif TEMP_SENSOR_3 != 0
1329
       #error "TEMP_SENSOR_3 shouldn't be set with only 3 HOTENDS."
1329
       #error "TEMP_SENSOR_3 shouldn't be set with only 3 HOTENDS."
1330
     #elif TEMP_SENSOR_4 != 0
1330
     #elif TEMP_SENSOR_4 != 0
1331
       #error "TEMP_SENSOR_4 shouldn't be set with only 3 HOTENDS."
1331
       #error "TEMP_SENSOR_4 shouldn't be set with only 3 HOTENDS."
1332
     #elif TEMP_SENSOR_5 != 0
1332
     #elif TEMP_SENSOR_5 != 0
1333
-      #error "TEMP_SENSOR_5 shouldn't be set with only 4 HOTENDS."
1333
+      #error "TEMP_SENSOR_5 shouldn't be set with only 3 HOTENDS."
1334
     #endif
1334
     #endif
1335
   #elif TEMP_SENSOR_2 != 0
1335
   #elif TEMP_SENSOR_2 != 0
1336
     #error "TEMP_SENSOR_2 shouldn't be set with only 2 HOTENDS."
1336
     #error "TEMP_SENSOR_2 shouldn't be set with only 2 HOTENDS."

Loading…
Cancel
Save