From 318318b02f72b7e432f727563bf5db244a2176ca Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Mon, 15 Jun 2015 16:56:16 -0700 Subject: [PATCH] Add pins_RAMPS_13_EFB.h to reduce redundancy --- Marlin/pins.h | 3 +-- Marlin/pins_AZTEEG_X3.h | 4 +--- Marlin/pins_BAM_DICE_DUE.h | 4 +--- Marlin/pins_FELIX2.h | 4 +--- Marlin/pins_MKS_BASE.h | 4 +--- Marlin/pins_RAMPS_13_EFB.h | 9 +++++++++ 6 files changed, 14 insertions(+), 14 deletions(-) create mode 100644 Marlin/pins_RAMPS_13_EFB.h diff --git a/Marlin/pins.h b/Marlin/pins.h index d899da8bdf..4893cf5ee0 100644 --- a/Marlin/pins.h +++ b/Marlin/pins.h @@ -35,8 +35,7 @@ #elif MB(RAMPS_OLD) #include "pins_RAMPS_OLD.h" #elif MB(RAMPS_13_EFB) - #define IS_RAMPS_EFB - #include "pins_RAMPS_13.h" + #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) diff --git a/Marlin/pins_AZTEEG_X3.h b/Marlin/pins_AZTEEG_X3.h index e961e7a24f..9da88bc441 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 2ec354e7fa..29d6109ae6 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 2fa40e2502..46c414f64c 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 fd4d2f1700..3cf5be13a9 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_EFB.h b/Marlin/pins_RAMPS_13_EFB.h new file mode 100644 index 0000000000..c75acd8d99 --- /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