From bb0e0cf7f35cf3b89aac4f395185d55f3aa62979 Mon Sep 17 00:00:00 2001
From: aegelsky <alexander.egelsky@gmail.com>
Date: Fri, 1 Apr 2022 05:21:10 +0300
Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20MKS=20Gen.=20L=20-=20EEB?=
 =?UTF-8?q?=20(#23965)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 Marlin/src/pins/ramps/pins_MKS_GEN_L.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Marlin/src/pins/ramps/pins_MKS_GEN_L.h b/Marlin/src/pins/ramps/pins_MKS_GEN_L.h
index 522a34cda19..4dca1ca187b 100644
--- a/Marlin/src/pins/ramps/pins_MKS_GEN_L.h
+++ b/Marlin/src/pins/ramps/pins_MKS_GEN_L.h
@@ -37,6 +37,12 @@
 // Power outputs EFBF or EFBE
 #define MOSFET_D_PIN 7
 
+// Hotend, Hotend, Bed + Fan on D9
+#if FET_ORDER_EEB
+  #define MOSFET_B_PIN 7
+  #define FAN_PIN 9
+#endif
+
 //
 // CS Pins wired to avoid conflict with the LCD
 // See https://www.thingiverse.com/asset:66604