From 5b3d968634d817c310e751bd59e1274295459218 Mon Sep 17 00:00:00 2001
From: Jason Smith <jason.inet@gmail.com>
Date: Fri, 31 Jan 2020 19:51:59 -0800
Subject: [PATCH] Option for Trigorilla 1.4 with add-on endstops board (#16737)

---
 Marlin/src/pins/ramps/pins_TRIGORILLA_14.h | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/Marlin/src/pins/ramps/pins_TRIGORILLA_14.h b/Marlin/src/pins/ramps/pins_TRIGORILLA_14.h
index 987d2a0756..f3155fdb09 100644
--- a/Marlin/src/pins/ramps/pins_TRIGORILLA_14.h
+++ b/Marlin/src/pins/ramps/pins_TRIGORILLA_14.h
@@ -38,10 +38,13 @@
 #endif
 
 //
-// Limit Switches
+// Custom Limit Switches
 //
-#define X_MAX_PIN          43
-#define Y_MIN_PIN          19
+//#define ANYCUBIC_4_MAX_PRO_ENDSTOPS
+#if ENABLED(ANYCUBIC_4_MAX_PRO_ENDSTOPS)
+  #define X_MAX_PIN        43
+  #define Y_MIN_PIN        19
+#endif
 
 // Labeled pins
 #define TRIGORILLA_HEATER_BED_PIN  8
-- 
GitLab