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

@@ -166,7 +166,15 @@
 //
 #define HEATER_BED_PIN     P2_05
 #define HEATER_0_PIN       P2_07
-#define HEATER_1_PIN       P2_06
+#if HOTENDS == 1
+  #ifndef FAN1_PIN
+    #define FAN1_PIN       P2_06
+  #endif
+#else
+  #ifndef HEATER_1_PIN
+    #define HEATER_1_PIN   P2_06
+  #endif
+#endif
 #ifndef FAN_PIN
   #define FAN_PIN          P2_04
 #endif