Boards with 4 power outputs are EFBF or EFBE

This commit is contained in:
Scott Lahteine 2016-08-02 12:32:36 -07:00
parent cebd2bfff0
commit 593b37519a
4 changed files with 5 additions and 2 deletions

View File

@ -30,6 +30,7 @@
#define BOARD_NAME "Felix 2.0+" #define BOARD_NAME "Felix 2.0+"
// Power outputs EFBF or EFBE
#define MOSFET_D_PIN 7 #define MOSFET_D_PIN 7
#include "pins_RAMPS.h" #include "pins_RAMPS.h"

View File

@ -35,6 +35,7 @@
#define BOARD_NAME "MKS > v1.3" #define BOARD_NAME "MKS > v1.3"
// Power outputs EFBF or EFBE
#define MOSFET_D_PIN 7 #define MOSFET_D_PIN 7
#include "pins_RAMPS.h" #include "pins_RAMPS.h"

View File

@ -30,6 +30,7 @@
#define BOARD_NAME "MKS BASE 1.0" #define BOARD_NAME "MKS BASE 1.0"
// Power outputs EFBF or EFBE
#define MOSFET_D_PIN 7 #define MOSFET_D_PIN 7
#include "pins_RAMPS.h" #include "pins_RAMPS.h"

View File

@ -115,7 +115,7 @@
#endif #endif
// Augmentation for auto-assigning RAMPS plugs // Augmentation for auto-assigning RAMPS plugs
#if DISABLED(IS_RAMPS_EEB) && DISABLED(IS_RAMPS_EEF) && DISABLED(IS_RAMPS_EFB) && DISABLED(IS_RAMPS_EFF) && DISABLED(IS_RAMPS_SF) #if DISABLED(IS_RAMPS_EEB) && DISABLED(IS_RAMPS_EEF) && DISABLED(IS_RAMPS_EFB) && DISABLED(IS_RAMPS_EFF) && DISABLED(IS_RAMPS_SF) && !PIN_EXISTS(MOSFET_D)
#if HOTENDS > 1 #if HOTENDS > 1
#if TEMP_SENSOR_BED #if TEMP_SENSOR_BED
#define IS_RAMPS_EEB #define IS_RAMPS_EEB
@ -163,7 +163,7 @@
#define CONTROLLERFAN_PIN -1 #define CONTROLLERFAN_PIN -1
#elif ENABLED(IS_RAMPS_SF) // Spindle, Fan #elif ENABLED(IS_RAMPS_SF) // Spindle, Fan
#define FAN_PIN RAMPS_D8_PIN #define FAN_PIN RAMPS_D8_PIN
#else // Non-specific are "EFB" by legacy #else // Non-specific are "EFB" (i.e., "EFBF" or "EFBE")
#define FAN_PIN RAMPS_D9_PIN #define FAN_PIN RAMPS_D9_PIN
#define HEATER_BED_PIN RAMPS_D8_PIN #define HEATER_BED_PIN RAMPS_D8_PIN
#if HOTENDS == 1 #if HOTENDS == 1