From c10edb09986fa6516c8b57c652381b2bf7715577 Mon Sep 17 00:00:00 2001 From: Ludy Date: Mon, 5 Nov 2018 01:36:45 +0100 Subject: [PATCH] Update, correct sanity-checks for up to 6 extruders (#12333) --- Marlin/src/inc/SanityCheck.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Marlin/src/inc/SanityCheck.h b/Marlin/src/inc/SanityCheck.h index 70c73091bb..6e708d9b97 100644 --- a/Marlin/src/inc/SanityCheck.h +++ b/Marlin/src/inc/SanityCheck.h @@ -611,8 +611,8 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE, */ #if EXTRUDERS > 1 - #if EXTRUDERS > 5 - #error "Marlin supports a maximum of 5 EXTRUDERS." + #if EXTRUDERS > 6 + #error "Marlin supports a maximum of 6 EXTRUDERS." #endif #if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT) @@ -1303,7 +1303,7 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE, #endif #if HOTENDS > 4 #if TEMP_SENSOR_4 == 0 - #error "TEMP_SENSOR_4 is required with 5 HOTENDS." + #error "TEMP_SENSOR_4 is required with 5 or more HOTENDS." #elif !HAS_HEATER_4 #error "HEATER_4_PIN not defined for this board." #elif !PIN_EXISTS(TEMP_4) @@ -1311,7 +1311,7 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE, #endif #if HOTENDS > 5 #if TEMP_SENSOR_5 == 0 - #error "TEMP_SENSOR_5 is required with 5 HOTENDS." + #error "TEMP_SENSOR_5 is required with 6 HOTENDS." #elif !HAS_HEATER_5 #error "HEATER_5_PIN not defined for this board." #elif !PIN_EXISTS(TEMP_5) @@ -1323,14 +1323,14 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE, #elif TEMP_SENSOR_4 != 0 #error "TEMP_SENSOR_4 shouldn't be set with only 4 HOTENDS." #elif TEMP_SENSOR_5 != 0 - #error "TEMP_SENSOR_5 shouldn't be set with only 5 HOTENDS." + #error "TEMP_SENSOR_5 shouldn't be set with only 4 HOTENDS." #endif #elif TEMP_SENSOR_3 != 0 #error "TEMP_SENSOR_3 shouldn't be set with only 3 HOTENDS." #elif TEMP_SENSOR_4 != 0 #error "TEMP_SENSOR_4 shouldn't be set with only 3 HOTENDS." #elif TEMP_SENSOR_5 != 0 - #error "TEMP_SENSOR_5 shouldn't be set with only 4 HOTENDS." + #error "TEMP_SENSOR_5 shouldn't be set with only 3 HOTENDS." #endif #elif TEMP_SENSOR_2 != 0 #error "TEMP_SENSOR_2 shouldn't be set with only 2 HOTENDS."