Sfoglia il codice sorgente

MKS SGEN L V2 adaptable heaters/fans (#19462)

makerbase 4 anni fa
parent
commit
63e7ae793b
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 8 aggiunte e 8 eliminazioni
  1. 8
    8
      Marlin/src/pins/lpc1769/pins_MKS_SGEN_L_V2.h

+ 8
- 8
Marlin/src/pins/lpc1769/pins_MKS_SGEN_L_V2.h Vedi File

@@ -207,20 +207,20 @@
207 207
 //
208 208
 #define HEATER_BED_PIN                     P2_05
209 209
 #define HEATER_0_PIN                       P2_07
210
-#if HOTENDS == 1
211
-  #ifndef FAN1_PIN
212
-    #define FAN1_PIN                       P2_06
213
-  #endif
214
-#else
210
+#if HAS_MULTI_HOTEND
215 211
   #ifndef HEATER_1_PIN
216 212
     #define HEATER_1_PIN                   P2_06
217 213
   #endif
214
+#else
215
+  #ifndef FAN2_PIN
216
+    #define FAN2_PIN                       P2_06  // HE1 for FAN3
217
+  #endif
218 218
 #endif
219 219
 #ifndef FAN_PIN
220
-  #define FAN_PIN                          P2_04
220
+  #define FAN_PIN                          P2_04  // FAN1
221 221
 #endif
222
-#ifndef FAN2_PIN
223
-  #define FAN2_PIN                         P1_04
222
+#ifndef FAN1_PIN
223
+  #define FAN1_PIN                         P1_04  // FAN2
224 224
 #endif
225 225
 
226 226
 //

Loading…
Annulla
Salva