Browse Source

Add pins_RAMPS_13_EFB.h to reduce redundancy

pull/1/head
Scott Lahteine 10 years ago
committed by Richard Wackerbarth
parent
commit
318318b02f
  1. 3
      Marlin/pins.h
  2. 4
      Marlin/pins_AZTEEG_X3.h
  3. 4
      Marlin/pins_BAM_DICE_DUE.h
  4. 4
      Marlin/pins_FELIX2.h
  5. 4
      Marlin/pins_MKS_BASE.h
  6. 9
      Marlin/pins_RAMPS_13_EFB.h

3
Marlin/pins.h

@ -35,8 +35,7 @@
#elif MB(RAMPS_OLD) #elif MB(RAMPS_OLD)
#include "pins_RAMPS_OLD.h" #include "pins_RAMPS_OLD.h"
#elif MB(RAMPS_13_EFB) #elif MB(RAMPS_13_EFB)
#define IS_RAMPS_EFB #include "pins_RAMPS_13_EFB.h"
#include "pins_RAMPS_13.h"
#elif MB(RAMPS_13_EEB) || MB(RAMPS_13_EFF) || MB(RAMPS_13_EEF) || MB(RAMPS_13_SF) #elif MB(RAMPS_13_EEB) || MB(RAMPS_13_EFF) || MB(RAMPS_13_EEF) || MB(RAMPS_13_SF)
#include "pins_RAMPS_13.h" #include "pins_RAMPS_13.h"
#elif MB(GEN6) #elif MB(GEN6)

4
Marlin/pins_AZTEEG_X3.h

@ -2,9 +2,7 @@
* AZTEEG_X3 Arduino Mega with RAMPS v1.3 pin assignments * AZTEEG_X3 Arduino Mega with RAMPS v1.3 pin assignments
*/ */
#define IS_RAMPS_EFB #include "pins_RAMPS_13_EFB.h"
#include "pins_RAMPS_13.h"
//LCD Pins// //LCD Pins//

4
Marlin/pins_BAM_DICE_DUE.h

@ -2,9 +2,7 @@
* BAM&DICE Due (Arduino Mega) pin assignments * BAM&DICE Due (Arduino Mega) pin assignments
*/ */
#define IS_RAMPS_EFB #include "pins_RAMPS_13_EFB.h"
#include "pins_RAMPS_13.h"
#undef TEMP_0_PIN #undef TEMP_0_PIN
#undef TEMP_1_PIN #undef TEMP_1_PIN

4
Marlin/pins_FELIX2.h

@ -2,9 +2,7 @@
* FELIXprinters v2.0/3.0 (RAMPS v1.3) pin assignments * FELIXprinters v2.0/3.0 (RAMPS v1.3) pin assignments
*/ */
#define IS_RAMPS_EFB #include "pins_RAMPS_13_EFB.h"
#include "pins_RAMPS_13.h"
#undef HEATER_1_PIN #undef HEATER_1_PIN
#define HEATER_1_PIN 7 // EXTRUDER 2 #define HEATER_1_PIN 7 // EXTRUDER 2

4
Marlin/pins_MKS_BASE.h

@ -2,9 +2,7 @@
* MKS BASE 1.0 Arduino Mega2560 with RAMPS v1.4 pin assignments * MKS BASE 1.0 Arduino Mega2560 with RAMPS v1.4 pin assignments
*/ */
#define IS_RAMPS_EFB #include "pins_RAMPS_13_EFB.h"
#include "pins_RAMPS_13.h"
#undef HEATER_1_PIN #undef HEATER_1_PIN
#define HEATER_1_PIN 7 #define HEATER_1_PIN 7

9
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"
Loading…
Cancel
Save