diff --git a/Marlin/pins.h b/Marlin/pins.h index 297dc867a02ad2008d04a117a87adcd687b64d39..4893cf5ee0b652a1635c952a09cd6d65bd8d3ff5 100644 --- a/Marlin/pins.h +++ b/Marlin/pins.h @@ -34,7 +34,9 @@ #include "pins_SETHI.h" #elif MB(RAMPS_OLD) #include "pins_RAMPS_OLD.h" -#elif MB(RAMPS_13_EFB) || MB(RAMPS_13_EEB) || MB(RAMPS_13_EFF) || MB(RAMPS_13_EEF) || MB(RAMPS_13_SF) +#elif MB(RAMPS_13_EFB) + #include "pins_RAMPS_13_EFB.h" +#elif MB(RAMPS_13_EEB) || MB(RAMPS_13_EFF) || MB(RAMPS_13_EEF) || MB(RAMPS_13_SF) #include "pins_RAMPS_13.h" #elif MB(GEN6) #include "pins_GEN6.h" diff --git a/Marlin/pins_AZTEEG_X3.h b/Marlin/pins_AZTEEG_X3.h index e961e7a24f4741b71b09080f5bb7bff0cc87910c..9da88bc44145238d1d3b6823bf5b3abbed84a619 100644 --- a/Marlin/pins_AZTEEG_X3.h +++ b/Marlin/pins_AZTEEG_X3.h @@ -2,9 +2,7 @@ * AZTEEG_X3 Arduino Mega with RAMPS v1.3 pin assignments */ -#define IS_RAMPS_EFB - -#include "pins_RAMPS_13.h" +#include "pins_RAMPS_13_EFB.h" //LCD Pins// diff --git a/Marlin/pins_BAM_DICE_DUE.h b/Marlin/pins_BAM_DICE_DUE.h index 2ec354e7fab79a427bcc5433c1443b46e9629eab..29d6109ae696dbe1a0ae9ef14e38ec0e46088078 100644 --- a/Marlin/pins_BAM_DICE_DUE.h +++ b/Marlin/pins_BAM_DICE_DUE.h @@ -2,9 +2,7 @@ * BAM&DICE Due (Arduino Mega) pin assignments */ -#define IS_RAMPS_EFB - -#include "pins_RAMPS_13.h" +#include "pins_RAMPS_13_EFB.h" #undef TEMP_0_PIN #undef TEMP_1_PIN diff --git a/Marlin/pins_FELIX2.h b/Marlin/pins_FELIX2.h index 2fa40e25023da7016a82361e37e82f961a4eceed..46c414f64cc783e3288b6342f2d0b8f855c10c3c 100644 --- a/Marlin/pins_FELIX2.h +++ b/Marlin/pins_FELIX2.h @@ -2,9 +2,7 @@ * FELIXprinters v2.0/3.0 (RAMPS v1.3) pin assignments */ -#define IS_RAMPS_EFB - -#include "pins_RAMPS_13.h" +#include "pins_RAMPS_13_EFB.h" #undef HEATER_1_PIN #define HEATER_1_PIN 7 // EXTRUDER 2 diff --git a/Marlin/pins_MKS_BASE.h b/Marlin/pins_MKS_BASE.h index fd4d2f1700f193cba2211b457203126d6815cc43..3cf5be13a901d2fa368c7f66d52f8d95855d7dd1 100644 --- a/Marlin/pins_MKS_BASE.h +++ b/Marlin/pins_MKS_BASE.h @@ -2,9 +2,7 @@ * MKS BASE 1.0 – Arduino Mega2560 with RAMPS v1.4 pin assignments */ -#define IS_RAMPS_EFB - -#include "pins_RAMPS_13.h" +#include "pins_RAMPS_13_EFB.h" #undef HEATER_1_PIN #define HEATER_1_PIN 7 diff --git a/Marlin/pins_RAMPS_13.h b/Marlin/pins_RAMPS_13.h index a99be9c3d3103b5eaadcb87ebc04fc4ee5dd4933..9f4313ffd8aa9ff912c4dbafe5d79e244e77091a 100644 --- a/Marlin/pins_RAMPS_13.h +++ b/Marlin/pins_RAMPS_13.h @@ -77,7 +77,7 @@ #define FILRUNOUT_PIN 4 #endif -#if MB(RAMPS_13_EFB) || MB(RAMPS_13_EFF) || defined(IS_RAMPS_EFB) +#if MB(RAMPS_13_EFF) || defined(IS_RAMPS_EFB) #define FAN_PIN 9 // (Sprinter config) #if MB(RAMPS_13_EFF) #define CONTROLLERFAN_PIN -1 // Pin used for the fan to cool controller @@ -102,7 +102,7 @@ #define HEATER_0_PIN 10 // EXTRUDER 1 #endif -#if MB(RAMPS_13_EFB) || MB(RAMPS_13_SF) || defined(IS_RAMPS_EFB) +#if MB(RAMPS_13_SF) || defined(IS_RAMPS_EFB) #define HEATER_1_PIN -1 #else #define HEATER_1_PIN 9 // EXTRUDER 2 (FAN On Sprinter) diff --git a/Marlin/pins_RAMPS_13_EFB.h b/Marlin/pins_RAMPS_13_EFB.h new file mode 100644 index 0000000000000000000000000000000000000000..c75acd8d99553d0aa1f493c19238f2553b00db45 --- /dev/null +++ b/Marlin/pins_RAMPS_13_EFB.h @@ -0,0 +1,9 @@ +/** + * Arduino Mega with RAMPS v1.3 pin assignments + * + * RAMPS_13_EFB (Extruder, Fan, Bed) + */ + +#define IS_RAMPS_EFB + +#include "pins_RAMPS_13.h" \ No newline at end of file