From c076a7f7a261fec08abcbfd9801a34c29b19ba86 Mon Sep 17 00:00:00 2001
From: ellensp <ellensp@hotmail.com>
Date: Wed, 17 Feb 2021 15:28:03 +1300
Subject: [PATCH] Swap Trigorilla Pro Z_MIN / MAX endstop pins (#21095)

---
 Marlin/src/pins/stm32f1/pins_TRIGORILLA_PRO.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/Marlin/src/pins/stm32f1/pins_TRIGORILLA_PRO.h b/Marlin/src/pins/stm32f1/pins_TRIGORILLA_PRO.h
index e09bbff324f..ed70d8d28f6 100644
--- a/Marlin/src/pins/stm32f1/pins_TRIGORILLA_PRO.h
+++ b/Marlin/src/pins/stm32f1/pins_TRIGORILLA_PRO.h
@@ -58,8 +58,12 @@
 //
 #define X_STOP_PIN                          PG10
 #define Y_STOP_PIN                          PA12
-#define Z_MAX_PIN                           PA14
-#define Z_MIN_PIN                           PA13
+#ifndef Z_MIN_PIN
+  #define Z_MIN_PIN                         PA14
+#endif
+#ifndef Z_MAX_PIN
+  #define Z_MAX_PIN                         PA13
+#endif
 
 //
 // Steppers