Remove a test from pins_RAMPS_13.h
- Add 3 new lines to `pins.h` to remove 2 redundant tests in `pins_RAMPS_13.h`
This commit is contained in:
parent
b93cddfcc9
commit
346c8b339b
@ -34,7 +34,10 @@
|
|||||||
#include "pins_SETHI.h"
|
#include "pins_SETHI.h"
|
||||||
#elif MB(RAMPS_OLD)
|
#elif MB(RAMPS_OLD)
|
||||||
#include "pins_RAMPS_OLD.h"
|
#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)
|
||||||
|
#define IS_RAMPS_EFB
|
||||||
|
#include "pins_RAMPS_13.h"
|
||||||
|
#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)
|
||||||
#include "pins_GEN6.h"
|
#include "pins_GEN6.h"
|
||||||
|
@ -77,7 +77,7 @@
|
|||||||
#define FILRUNOUT_PIN 4
|
#define FILRUNOUT_PIN 4
|
||||||
#endif
|
#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)
|
#define FAN_PIN 9 // (Sprinter config)
|
||||||
#if MB(RAMPS_13_EFF)
|
#if MB(RAMPS_13_EFF)
|
||||||
#define CONTROLLERFAN_PIN -1 // Pin used for the fan to cool controller
|
#define CONTROLLERFAN_PIN -1 // Pin used for the fan to cool controller
|
||||||
@ -102,7 +102,7 @@
|
|||||||
#define HEATER_0_PIN 10 // EXTRUDER 1
|
#define HEATER_0_PIN 10 // EXTRUDER 1
|
||||||
#endif
|
#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
|
#define HEATER_1_PIN -1
|
||||||
#else
|
#else
|
||||||
#define HEATER_1_PIN 9 // EXTRUDER 2 (FAN On Sprinter)
|
#define HEATER_1_PIN 9 // EXTRUDER 2 (FAN On Sprinter)
|
||||||
|
Loading…
Reference in New Issue
Block a user