Selaa lähdekoodia

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

ferengi82 4 vuotta sitten
vanhempi
commit
2230ef6e09
1 muutettua tiedostoa jossa 9 lisäystä ja 1 poistoa
  1. 9
    1
      Marlin/src/pins/lpc1768/pins_MKS_SGEN_L.h

+ 9
- 1
Marlin/src/pins/lpc1768/pins_MKS_SGEN_L.h Näytä tiedosto

@@ -166,7 +166,15 @@
166 166
 //
167 167
 #define HEATER_BED_PIN     P2_05
168 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 178
 #ifndef FAN_PIN
171 179
   #define FAN_PIN          P2_04
172 180
 #endif

Loading…
Peruuta
Tallenna