From 2230ef6e09fe207c1b56c2f032efeb9ff04e9791 Mon Sep 17 00:00:00 2001 From: ferengi82 Date: Mon, 23 Dec 2019 00:11:49 +0100 Subject: [PATCH] MKS SGen-L pins EEBF or EFBF scheme (#16296) --- Marlin/src/pins/lpc1768/pins_MKS_SGEN_L.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Marlin/src/pins/lpc1768/pins_MKS_SGEN_L.h b/Marlin/src/pins/lpc1768/pins_MKS_SGEN_L.h index 6d8e340f5f..a47e9e0383 100644 --- a/Marlin/src/pins/lpc1768/pins_MKS_SGEN_L.h +++ b/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