|
@@ -1260,22 +1260,22 @@
|
1260
|
1260
|
// Disable unused endstop / probe pins
|
1261
|
1261
|
//
|
1262
|
1262
|
#define _STOP_IN_USE(N) (X2_USE_ENDSTOP == N || Y2_USE_ENDSTOP == N || Z2_USE_ENDSTOP == N || Z3_USE_ENDSTOP == N || Z4_USE_ENDSTOP == N)
|
1263
|
|
-#if _STOP_IN_USE(_XMAX_)
|
|
1263
|
+#if !defined(USE_XMAX_PLUG) && _STOP_IN_USE(_XMAX_)
|
1264
|
1264
|
#define USE_XMAX_PLUG
|
1265
|
1265
|
#endif
|
1266
|
|
-#if _STOP_IN_USE(_YMAX_)
|
|
1266
|
+#if !defined(USE_YMAX_PLUG) && _STOP_IN_USE(_YMAX_)
|
1267
|
1267
|
#define USE_YMAX_PLUG
|
1268
|
1268
|
#endif
|
1269
|
|
-#if _STOP_IN_USE(_ZMAX_)
|
|
1269
|
+#if !defined(USE_ZMAX_PLUG) && _STOP_IN_USE(_ZMAX_)
|
1270
|
1270
|
#define USE_ZMAX_PLUG
|
1271
|
1271
|
#endif
|
1272
|
|
-#if _STOP_IN_USE(_XMIN_)
|
|
1272
|
+#if !defined(USE_XMIN_PLUG) && _STOP_IN_USE(_XMIN_)
|
1273
|
1273
|
#define USE_XMIN_PLUG
|
1274
|
1274
|
#endif
|
1275
|
|
-#if _STOP_IN_USE(_YMIN_)
|
|
1275
|
+#if !defined(USE_YMIN_PLUG) && _STOP_IN_USE(_YMIN_)
|
1276
|
1276
|
#define USE_YMIN_PLUG
|
1277
|
1277
|
#endif
|
1278
|
|
-#if _STOP_IN_USE(_ZMIN_)
|
|
1278
|
+#if !defined(USE_ZMIN_PLUG) && _STOP_IN_USE(_ZMIN_)
|
1279
|
1279
|
#define USE_ZMIN_PLUG
|
1280
|
1280
|
#endif
|
1281
|
1281
|
#undef _STOP_IN_USE
|