|
@@ -820,6 +820,10 @@
|
820
|
820
|
#define X_MIN_PIN -1
|
821
|
821
|
#define X_MAX_PIN X_STOP_PIN
|
822
|
822
|
#endif
|
|
823
|
+#elif X_HOME_DIR < 0
|
|
824
|
+ #define X_STOP_PIN X_MIN_PIN
|
|
825
|
+#else
|
|
826
|
+ #define X_STOP_PIN X_MAX_PIN
|
823
|
827
|
#endif
|
824
|
828
|
|
825
|
829
|
#ifdef Y_STOP_PIN
|
|
@@ -830,6 +834,10 @@
|
830
|
834
|
#define Y_MIN_PIN -1
|
831
|
835
|
#define Y_MAX_PIN Y_STOP_PIN
|
832
|
836
|
#endif
|
|
837
|
+#elif Y_HOME_DIR < 0
|
|
838
|
+ #define Y_STOP_PIN Y_MIN_PIN
|
|
839
|
+#else
|
|
840
|
+ #define Y_STOP_PIN Y_MAX_PIN
|
833
|
841
|
#endif
|
834
|
842
|
|
835
|
843
|
#ifdef Z_STOP_PIN
|
|
@@ -840,6 +848,10 @@
|
840
|
848
|
#define Z_MIN_PIN -1
|
841
|
849
|
#define Z_MAX_PIN Z_STOP_PIN
|
842
|
850
|
#endif
|
|
851
|
+#elif Z_HOME_DIR < 0
|
|
852
|
+ #define Z_STOP_PIN Z_MIN_PIN
|
|
853
|
+#else
|
|
854
|
+ #define Z_STOP_PIN Z_MAX_PIN
|
843
|
855
|
#endif
|
844
|
856
|
|
845
|
857
|
//
|