Browse Source

Boards with 4 power outputs are EFBF or EFBE

Scott Lahteine 8 years ago
parent
commit
593b37519a
4 changed files with 5 additions and 2 deletions
  1. 1
    0
      Marlin/pins_FELIX2.h
  2. 1
    0
      Marlin/pins_MKS_13.h
  3. 1
    0
      Marlin/pins_MKS_BASE.h
  4. 2
    2
      Marlin/pins_RAMPS.h

+ 1
- 0
Marlin/pins_FELIX2.h View File

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

+ 1
- 0
Marlin/pins_MKS_13.h View File

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

+ 1
- 0
Marlin/pins_MKS_BASE.h View File

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

+ 2
- 2
Marlin/pins_RAMPS.h View File

@@ -115,7 +115,7 @@
115 115
 #endif
116 116
 
117 117
 // Augmentation for auto-assigning RAMPS plugs
118
-#if DISABLED(IS_RAMPS_EEB) && DISABLED(IS_RAMPS_EEF) && DISABLED(IS_RAMPS_EFB) && DISABLED(IS_RAMPS_EFF) && DISABLED(IS_RAMPS_SF)
118
+#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)
119 119
   #if HOTENDS > 1
120 120
     #if TEMP_SENSOR_BED
121 121
       #define IS_RAMPS_EEB
@@ -163,7 +163,7 @@
163 163
   #define CONTROLLERFAN_PIN  -1
164 164
 #elif ENABLED(IS_RAMPS_SF)                     // Spindle, Fan
165 165
   #define FAN_PIN        RAMPS_D8_PIN
166
-#else                                          // Non-specific are "EFB" by legacy
166
+#else                                          // Non-specific are "EFB" (i.e., "EFBF" or "EFBE")
167 167
   #define FAN_PIN        RAMPS_D9_PIN
168 168
   #define HEATER_BED_PIN RAMPS_D8_PIN
169 169
   #if HOTENDS == 1

Loading…
Cancel
Save