diff --git a/Marlin/pins_AZTEEG_X3.h b/Marlin/pins_AZTEEG_X3.h index 26f274e6f..364697d60 100644 --- a/Marlin/pins_AZTEEG_X3.h +++ b/Marlin/pins_AZTEEG_X3.h @@ -24,8 +24,8 @@ * AZTEEG_X3 Arduino Mega with RAMPS v1.4 pin assignments */ -#if HOTENDS > 2 - #error "Azteeg X3 supports up to 2 hotends. Comment this line to keep going." +#if HOTENDS > 2 || E_STEPPERS > 2 + #error "Azteeg X3 supports up to 2 hotends / E-steppers. Comment out this line to continue." #endif #define BOARD_NAME "Azteeg X3" diff --git a/Marlin/pins_BAM_DICE_DUE.h b/Marlin/pins_BAM_DICE_DUE.h index 488861d5c..0da4f08c4 100644 --- a/Marlin/pins_BAM_DICE_DUE.h +++ b/Marlin/pins_BAM_DICE_DUE.h @@ -24,8 +24,8 @@ * BAM&DICE Due (Arduino Mega) pin assignments */ -#if HOTENDS > 2 - #error "2PrintBeta Due supports up to 2 hotends. Comment this line to keep going." +#if HOTENDS > 2 || E_STEPPERS > 2 + #error "2PrintBeta Due supports up to 2 hotends / E-steppers. Comment out this line to continue." #endif #define BOARD_NAME "2PrintBeta Due" diff --git a/Marlin/pins_FELIX2.h b/Marlin/pins_FELIX2.h index 45bf257c4..28894fe97 100644 --- a/Marlin/pins_FELIX2.h +++ b/Marlin/pins_FELIX2.h @@ -24,8 +24,8 @@ * FELIXprinters v2.0/3.0 (RAMPS v1.4) pin assignments */ -#if HOTENDS > 2 - #error "Felix 2.0+ supports up to 2 hotends. Comment this line to keep going." +#if HOTENDS > 2 || E_STEPPERS > 2 + #error "Felix 2.0+ supports up to 2 hotends / E-steppers. Comment out this line to continue." #endif #define BOARD_NAME "Felix 2.0+" diff --git a/Marlin/pins_MEGACONTROLLER.h b/Marlin/pins_MEGACONTROLLER.h index 10ffe3283..f15b231fc 100644 --- a/Marlin/pins_MEGACONTROLLER.h +++ b/Marlin/pins_MEGACONTROLLER.h @@ -28,8 +28,8 @@ #error "Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu." #endif -#if E_STEPPERS > 2 || HOTENDS > 2 - #error "Mega Controller supports up to 2 hotends / E-steppers. Comment this line to keep going." +#if HOTENDS > 2 || E_STEPPERS > 2 + #error "Mega Controller supports up to 2 hotends / E-steppers. Comment out this line to continue." #endif #define BOARD_NAME "Mega Controller" diff --git a/Marlin/pins_MINITRONICS.h b/Marlin/pins_MINITRONICS.h index 7ee89a0a4..d9a03c41f 100644 --- a/Marlin/pins_MINITRONICS.h +++ b/Marlin/pins_MINITRONICS.h @@ -28,8 +28,8 @@ #error "Oops! Make sure you have 'Minitronics' selected from the 'Tools -> Boards' menu." #endif -#if HOTENDS > 2 - #error "Minitronics supports up to 2 hotends. Comment this line to keep going." +#if HOTENDS > 2 || E_STEPPERS > 2 + #error "Minitronics supports up to 2 hotends / E-steppers. Comment out this line to continue." #endif #define BOARD_NAME "Minitronics v1.0 / v1.1" diff --git a/Marlin/pins_MKS_13.h b/Marlin/pins_MKS_13.h index ce1217157..8b466c652 100644 --- a/Marlin/pins_MKS_13.h +++ b/Marlin/pins_MKS_13.h @@ -29,8 +29,8 @@ * MKS v1.4 (Extruder, Extruder, Fan, Bed) */ -#if HOTENDS > 2 - #error "MKS 1.3/1.4 supports up to 2 hotends. Comment this line to keep going." +#if HOTENDS > 2 || E_STEPPERS > 2 + #error "MKS 1.3/1.4 supports up to 2 hotends / E-steppers. Comment out this line to continue." #endif #define BOARD_NAME "MKS > v1.3" diff --git a/Marlin/pins_MKS_BASE.h b/Marlin/pins_MKS_BASE.h index c09834153..12bf8b749 100644 --- a/Marlin/pins_MKS_BASE.h +++ b/Marlin/pins_MKS_BASE.h @@ -24,8 +24,8 @@ * MKS BASE 1.0 – Arduino Mega2560 with RAMPS v1.4 pin assignments */ -#if HOTENDS > 2 - #error "MKS BASE 1.0 supports up to 2 hotends. Comment this line to keep going." +#if HOTENDS > 2 || E_STEPPERS > 2 + #error "MKS BASE 1.0 supports up to 2 hotends / E-steppers. Comment out this line to continue." #endif #define BOARD_NAME "MKS BASE 1.0" diff --git a/Marlin/pins_RUMBA.h b/Marlin/pins_RUMBA.h index 5d221cc29..376197c55 100644 --- a/Marlin/pins_RUMBA.h +++ b/Marlin/pins_RUMBA.h @@ -28,8 +28,8 @@ #error "Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu." #endif -#if E_STEPPERS > 3 || HOTENDS > 3 - #error "RUMBA supports up to 3 hotends / E-steppers. Comment this line to keep going." +#if HOTENDS > 3 || E_STEPPERS > 3 + #error "RUMBA supports up to 3 hotends / E-steppers. Comment out this line to continue." #endif #define DEFAULT_MACHINE_NAME "Rumba" diff --git a/Marlin/pins_SAINSMART_2IN1.h b/Marlin/pins_SAINSMART_2IN1.h index b418308da..bf01a9e05 100644 --- a/Marlin/pins_SAINSMART_2IN1.h +++ b/Marlin/pins_SAINSMART_2IN1.h @@ -24,8 +24,8 @@ * Sainsmart 2-in-1 pin assignments */ -#if HOTENDS > 2 - #error "Sainsmart 2-in-1 supports up to 2 hotends. Comment this line to keep going." +#if HOTENDS > 2 || E_STEPPERS > 2 + #error "Sainsmart 2-in-1 supports up to 2 hotends / E-steppers. Comment out this line to continue." #endif #define BOARD_NAME "Sainsmart"