From 587cb6c283ceecf0d9eec7d5ca7837a16d42e1fb Mon Sep 17 00:00:00 2001
From: Scott Lahteine <sourcetree@thinkyhead.com>
Date: Thu, 29 Sep 2016 02:07:22 -0500
Subject: [PATCH] K8400 has 1xXY an 2xZ endstop plugs

---
 Marlin/pins_K8400.h | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/Marlin/pins_K8400.h b/Marlin/pins_K8400.h
index a15e9e4949..163755d928 100644
--- a/Marlin/pins_K8400.h
+++ b/Marlin/pins_K8400.h
@@ -37,10 +37,12 @@
 
 #include "pins_3DRAG.h"
 
-#undef  X_MAX_PIN
-#define X_MAX_PIN     -1
-#undef  Y_MAX_PIN
-#define Y_MAX_PIN     -1
+#undef X_MAX_PIN
+#undef X_MIN_PIN
+#undef Y_MAX_PIN
+#undef Y_MIN_PIN
+#define X_STOP_PIN  3
+#define Y_STOP_PIN 14
 
 #undef E1_STEP_PIN
 #define E1_STEP_PIN   32