|
@@ -1237,18 +1237,18 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE,
|
1237
|
1237
|
#if ENABLED(X_DUAL_ENDSTOPS)
|
1238
|
1238
|
#if !X2_USE_ENDSTOP
|
1239
|
1239
|
#error "You must set X2_USE_ENDSTOP with X_DUAL_ENDSTOPS."
|
1240
|
|
- #elif X2_USE_ENDSTOP == _X_MIN_ && DISABLED(USE_XMIN_PLUG)
|
1241
|
|
- #error "USE_XMIN_PLUG is required when X2_USE_ENDSTOP is _X_MIN_."
|
1242
|
|
- #elif X2_USE_ENDSTOP == _X_MAX_ && DISABLED(USE_XMAX_PLUG)
|
1243
|
|
- #error "USE_XMAX_PLUG is required when X2_USE_ENDSTOP is _X_MAX_."
|
1244
|
|
- #elif X2_USE_ENDSTOP == _Y_MIN_ && DISABLED(USE_YMIN_PLUG)
|
1245
|
|
- #error "USE_YMIN_PLUG is required when X2_USE_ENDSTOP is _Y_MIN_."
|
1246
|
|
- #elif X2_USE_ENDSTOP == _Y_MAX_ && DISABLED(USE_YMAX_PLUG)
|
1247
|
|
- #error "USE_YMAX_PLUG is required when X2_USE_ENDSTOP is _Y_MAX_."
|
1248
|
|
- #elif X2_USE_ENDSTOP == _Z_MIN_ && DISABLED(USE_ZMIN_PLUG)
|
1249
|
|
- #error "USE_ZMIN_PLUG is required when X2_USE_ENDSTOP is _Z_MIN_."
|
1250
|
|
- #elif X2_USE_ENDSTOP == _Z_MAX_ && DISABLED(USE_ZMAX_PLUG)
|
1251
|
|
- #error "USE_ZMAX_PLUG is required when X2_USE_ENDSTOP is _Z_MAX_."
|
|
1240
|
+ #elif X2_USE_ENDSTOP == _XMIN_ && DISABLED(USE_XMIN_PLUG)
|
|
1241
|
+ #error "USE_XMIN_PLUG is required when X2_USE_ENDSTOP is _XMIN_."
|
|
1242
|
+ #elif X2_USE_ENDSTOP == _XMAX_ && DISABLED(USE_XMAX_PLUG)
|
|
1243
|
+ #error "USE_XMAX_PLUG is required when X2_USE_ENDSTOP is _XMAX_."
|
|
1244
|
+ #elif X2_USE_ENDSTOP == _YMIN_ && DISABLED(USE_YMIN_PLUG)
|
|
1245
|
+ #error "USE_YMIN_PLUG is required when X2_USE_ENDSTOP is _YMIN_."
|
|
1246
|
+ #elif X2_USE_ENDSTOP == _YMAX_ && DISABLED(USE_YMAX_PLUG)
|
|
1247
|
+ #error "USE_YMAX_PLUG is required when X2_USE_ENDSTOP is _YMAX_."
|
|
1248
|
+ #elif X2_USE_ENDSTOP == _ZMIN_ && DISABLED(USE_ZMIN_PLUG)
|
|
1249
|
+ #error "USE_ZMIN_PLUG is required when X2_USE_ENDSTOP is _ZMIN_."
|
|
1250
|
+ #elif X2_USE_ENDSTOP == _ZMAX_ && DISABLED(USE_ZMAX_PLUG)
|
|
1251
|
+ #error "USE_ZMAX_PLUG is required when X2_USE_ENDSTOP is _ZMAX_."
|
1252
|
1252
|
#elif !HAS_X2_MIN && !HAS_X2_MAX
|
1253
|
1253
|
#error "X2_USE_ENDSTOP has been assigned to a nonexistent endstop!"
|
1254
|
1254
|
#elif ENABLED(DELTA)
|
|
@@ -1258,18 +1258,18 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE,
|
1258
|
1258
|
#if ENABLED(Y_DUAL_ENDSTOPS)
|
1259
|
1259
|
#if !Y2_USE_ENDSTOP
|
1260
|
1260
|
#error "You must set Y2_USE_ENDSTOP with Y_DUAL_ENDSTOPS."
|
1261
|
|
- #elif Y2_USE_ENDSTOP == _X_MIN_ && DISABLED(USE_XMIN_PLUG)
|
1262
|
|
- #error "USE_XMIN_PLUG is required when Y2_USE_ENDSTOP is _X_MIN_."
|
1263
|
|
- #elif Y2_USE_ENDSTOP == _X_MAX_ && DISABLED(USE_XMAX_PLUG)
|
1264
|
|
- #error "USE_XMAX_PLUG is required when Y2_USE_ENDSTOP is _X_MAX_."
|
1265
|
|
- #elif Y2_USE_ENDSTOP == _Y_MIN_ && DISABLED(USE_YMIN_PLUG)
|
1266
|
|
- #error "USE_YMIN_PLUG is required when Y2_USE_ENDSTOP is _Y_MIN_."
|
1267
|
|
- #elif Y2_USE_ENDSTOP == _Y_MAX_ && DISABLED(USE_YMAX_PLUG)
|
1268
|
|
- #error "USE_YMAX_PLUG is required when Y2_USE_ENDSTOP is _Y_MAX_."
|
1269
|
|
- #elif Y2_USE_ENDSTOP == _Z_MIN_ && DISABLED(USE_ZMIN_PLUG)
|
1270
|
|
- #error "USE_ZMIN_PLUG is required when Y2_USE_ENDSTOP is _Z_MIN_."
|
1271
|
|
- #elif Y2_USE_ENDSTOP == _Z_MAX_ && DISABLED(USE_ZMAX_PLUG)
|
1272
|
|
- #error "USE_ZMAX_PLUG is required when Y2_USE_ENDSTOP is _Z_MAX_."
|
|
1261
|
+ #elif Y2_USE_ENDSTOP == _XMIN_ && DISABLED(USE_XMIN_PLUG)
|
|
1262
|
+ #error "USE_XMIN_PLUG is required when Y2_USE_ENDSTOP is _XMIN_."
|
|
1263
|
+ #elif Y2_USE_ENDSTOP == _XMAX_ && DISABLED(USE_XMAX_PLUG)
|
|
1264
|
+ #error "USE_XMAX_PLUG is required when Y2_USE_ENDSTOP is _XMAX_."
|
|
1265
|
+ #elif Y2_USE_ENDSTOP == _YMIN_ && DISABLED(USE_YMIN_PLUG)
|
|
1266
|
+ #error "USE_YMIN_PLUG is required when Y2_USE_ENDSTOP is _YMIN_."
|
|
1267
|
+ #elif Y2_USE_ENDSTOP == _YMAX_ && DISABLED(USE_YMAX_PLUG)
|
|
1268
|
+ #error "USE_YMAX_PLUG is required when Y2_USE_ENDSTOP is _YMAX_."
|
|
1269
|
+ #elif Y2_USE_ENDSTOP == _ZMIN_ && DISABLED(USE_ZMIN_PLUG)
|
|
1270
|
+ #error "USE_ZMIN_PLUG is required when Y2_USE_ENDSTOP is _ZMIN_."
|
|
1271
|
+ #elif Y2_USE_ENDSTOP == _ZMAX_ && DISABLED(USE_ZMAX_PLUG)
|
|
1272
|
+ #error "USE_ZMAX_PLUG is required when Y2_USE_ENDSTOP is _ZMAX_."
|
1273
|
1273
|
#elif !HAS_Y2_MIN && !HAS_Y2_MAX
|
1274
|
1274
|
#error "Y2_USE_ENDSTOP has been assigned to a nonexistent endstop!"
|
1275
|
1275
|
#elif ENABLED(DELTA)
|
|
@@ -1279,18 +1279,18 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE,
|
1279
|
1279
|
#if ENABLED(Z_DUAL_ENDSTOPS)
|
1280
|
1280
|
#if !Z2_USE_ENDSTOP
|
1281
|
1281
|
#error "You must set Z2_USE_ENDSTOP with Z_DUAL_ENDSTOPS."
|
1282
|
|
- #elif Z2_USE_ENDSTOP == _X_MIN_ && DISABLED(USE_XMIN_PLUG)
|
1283
|
|
- #error "USE_XMIN_PLUG is required when Z2_USE_ENDSTOP is _X_MIN_."
|
1284
|
|
- #elif Z2_USE_ENDSTOP == _X_MAX_ && DISABLED(USE_XMAX_PLUG)
|
1285
|
|
- #error "USE_XMAX_PLUG is required when Z2_USE_ENDSTOP is _X_MAX_."
|
1286
|
|
- #elif Z2_USE_ENDSTOP == _Y_MIN_ && DISABLED(USE_YMIN_PLUG)
|
1287
|
|
- #error "USE_YMIN_PLUG is required when Z2_USE_ENDSTOP is _Y_MIN_."
|
1288
|
|
- #elif Z2_USE_ENDSTOP == _Y_MAX_ && DISABLED(USE_YMAX_PLUG)
|
1289
|
|
- #error "USE_YMAX_PLUG is required when Z2_USE_ENDSTOP is _Y_MAX_."
|
1290
|
|
- #elif Z2_USE_ENDSTOP == _Z_MIN_ && DISABLED(USE_ZMIN_PLUG)
|
1291
|
|
- #error "USE_ZMIN_PLUG is required when Z2_USE_ENDSTOP is _Z_MIN_."
|
1292
|
|
- #elif Z2_USE_ENDSTOP == _Z_MAX_ && DISABLED(USE_ZMAX_PLUG)
|
1293
|
|
- #error "USE_ZMAX_PLUG is required when Z2_USE_ENDSTOP is _Z_MAX_."
|
|
1282
|
+ #elif Z2_USE_ENDSTOP == _XMIN_ && DISABLED(USE_XMIN_PLUG)
|
|
1283
|
+ #error "USE_XMIN_PLUG is required when Z2_USE_ENDSTOP is _XMIN_."
|
|
1284
|
+ #elif Z2_USE_ENDSTOP == _XMAX_ && DISABLED(USE_XMAX_PLUG)
|
|
1285
|
+ #error "USE_XMAX_PLUG is required when Z2_USE_ENDSTOP is _XMAX_."
|
|
1286
|
+ #elif Z2_USE_ENDSTOP == _YMIN_ && DISABLED(USE_YMIN_PLUG)
|
|
1287
|
+ #error "USE_YMIN_PLUG is required when Z2_USE_ENDSTOP is _YMIN_."
|
|
1288
|
+ #elif Z2_USE_ENDSTOP == _YMAX_ && DISABLED(USE_YMAX_PLUG)
|
|
1289
|
+ #error "USE_YMAX_PLUG is required when Z2_USE_ENDSTOP is _YMAX_."
|
|
1290
|
+ #elif Z2_USE_ENDSTOP == _ZMIN_ && DISABLED(USE_ZMIN_PLUG)
|
|
1291
|
+ #error "USE_ZMIN_PLUG is required when Z2_USE_ENDSTOP is _ZMIN_."
|
|
1292
|
+ #elif Z2_USE_ENDSTOP == _ZMAX_ && DISABLED(USE_ZMAX_PLUG)
|
|
1293
|
+ #error "USE_ZMAX_PLUG is required when Z2_USE_ENDSTOP is _ZMAX_."
|
1294
|
1294
|
#elif !HAS_Z2_MIN && !HAS_Z2_MAX
|
1295
|
1295
|
#error "Z2_USE_ENDSTOP has been assigned to a nonexistent endstop!"
|
1296
|
1296
|
#elif ENABLED(DELTA)
|