From 15028e9b0817a819a52fa62f3d7b8c638cf95e1b Mon Sep 17 00:00:00 2001
From: Natealus <natealus@hotmail.com>
Date: Sun, 29 Mar 2015 00:42:12 -0600
Subject: [PATCH] Undesired behavior with endstops swapped

I made my changes to swap MIN and MAX endstops on the Azteeg X3 Pro the
option rather than the default to fix unexpected reversal.
---
 Marlin/pins_AZTEEG_X3_PRO.h | 53 ++++++++++---------------------------
 1 file changed, 14 insertions(+), 39 deletions(-)

diff --git a/Marlin/pins_AZTEEG_X3_PRO.h b/Marlin/pins_AZTEEG_X3_PRO.h
index 3ba85ccd14..26a7b2044d 100644
--- a/Marlin/pins_AZTEEG_X3_PRO.h
+++ b/Marlin/pins_AZTEEG_X3_PRO.h
@@ -16,23 +16,21 @@
 //
 //This section is to swap the MIN and MAX pins because the X3 Pro comes with only
 //MIN endstops soldered onto the board. Delta code wants the homing endstops to be 
-//the MAX so I swapped them here. Comment them out with // if you want them original.
-//Note: I had to solder on the additional MAX Endstop pins to attach a Z-Probe 
-//endstop switch.
+//the MAX so I swapped them here. UnComment the section below if you want this change.
 //
-#undef X_MIN_PIN
-#undef X_MAX_PIN
-#undef Y_MIN_PIN
-#undef Y_MAX_PIN
-#undef Z_MIN_PIN
-#undef Z_MAX_PIN
-
-#define X_MIN_PIN           2
-#define X_MAX_PIN           3
-#define Y_MIN_PIN          15
-#define Y_MAX_PIN          14
-#define Z_MIN_PIN          19
-#define Z_MAX_PIN          18
+//#undef X_MIN_PIN
+//#undef X_MAX_PIN
+//#undef Y_MIN_PIN
+//#undef Y_MAX_PIN
+//#undef Z_MIN_PIN
+//#undef Z_MAX_PIN
+//
+//#define X_MIN_PIN           2
+//#define X_MAX_PIN           3
+//#define Y_MIN_PIN          15
+//#define Y_MAX_PIN          14
+//#define Z_MIN_PIN          19
+//#define Z_MAX_PIN          18
 //
 
 #define E2_STEP_PIN        23
@@ -88,26 +86,3 @@
     #endif
   #endif
 #endif
-
-//LCD Pins//
-
-#if defined(VIKI2) || defined(miniVIKI)
- #define BEEPER 33
- // Pins for DOGM SPI LCD Support
- #define DOGLCD_A0  44
- #define DOGLCD_CS  45
- #define LCD_SCREEN_ROT_180
- 
- //The encoder and click button
- #define BTN_EN1 22
- #define BTN_EN2 7
- #define BTN_ENC 39  //the click switch
-
- #define SDSS 53
- #define SDCARDDETECT 49
- 
- #define KILL_PIN 31
- 
- #define STAT_LED_RED       32
- #define STAT_LED_BLUE      35
-#endif
-- 
GitLab