Skip to content

Commit c82cea0

Browse files
makerbase-mksvgadreau
authored andcommitted
MKS SGEN L V2 adaptable heaters/fans (MarlinFirmware#19462)
1 parent f85f6f2 commit c82cea0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Marlin/src/pins/lpc1769/pins_MKS_SGEN_L_V2.h

+8-8
Original file line numberDiff line numberDiff line change
@@ -207,20 +207,20 @@
207207
//
208208
#define HEATER_BED_PIN P2_05
209209
#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
215211
#ifndef HEATER_1_PIN
216212
#define HEATER_1_PIN P2_06
217213
#endif
214+
#else
215+
#ifndef FAN2_PIN
216+
#define FAN2_PIN P2_06 // HE1 for FAN3
217+
#endif
218218
#endif
219219
#ifndef FAN_PIN
220-
#define FAN_PIN P2_04
220+
#define FAN_PIN P2_04 // FAN1
221221
#endif
222-
#ifndef FAN2_PIN
223-
#define FAN2_PIN P1_04
222+
#ifndef FAN1_PIN
223+
#define FAN1_PIN P1_04 // FAN2
224224
#endif
225225

226226
//

0 commit comments

Comments
 (0)