Browse Source

MKS SGen-L pins EEBF or EFBF scheme (#16296)

ferengi82 5 years ago
parent
commit
2230ef6e09
1 changed files with 9 additions and 1 deletions
  1. 9
    1
      Marlin/src/pins/lpc1768/pins_MKS_SGEN_L.h

+ 9
- 1
Marlin/src/pins/lpc1768/pins_MKS_SGEN_L.h View File

166
 //
166
 //
167
 #define HEATER_BED_PIN     P2_05
167
 #define HEATER_BED_PIN     P2_05
168
 #define HEATER_0_PIN       P2_07
168
 #define HEATER_0_PIN       P2_07
169
-#define HEATER_1_PIN       P2_06
169
+#if HOTENDS == 1
170
+  #ifndef FAN1_PIN
171
+    #define FAN1_PIN       P2_06
172
+  #endif
173
+#else
174
+  #ifndef HEATER_1_PIN
175
+    #define HEATER_1_PIN   P2_06
176
+  #endif
177
+#endif
170
 #ifndef FAN_PIN
178
 #ifndef FAN_PIN
171
   #define FAN_PIN          P2_04
179
   #define FAN_PIN          P2_04
172
 #endif
180
 #endif

Loading…
Cancel
Save