|
|
@ -494,14 +494,12 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
#if !defined(TARGET_LPC1768) && ( \ |
|
|
|
ENABLED(ENDSTOPPULLDOWNS) \ |
|
|
|
|| ENABLED(ENDSTOPPULLDOWN_XMAX) \ |
|
|
|
|| ENABLED(ENDSTOPPULLDOWN_YMAX) \ |
|
|
|
|| ENABLED(ENDSTOPPULLDOWN_ZMAX) \ |
|
|
|
|| ENABLED(ENDSTOPPULLDOWN_XMIN) \ |
|
|
|
|| ENABLED(ENDSTOPPULLDOWN_YMIN) \ |
|
|
|
|| ENABLED(ENDSTOPPULLDOWN_ZMIN) ) |
|
|
|
#if !defined(TARGET_LPC1768) && ANY( \ |
|
|
|
ENDSTOPPULLDOWNS, \ |
|
|
|
ENDSTOPPULLDOWN_XMAX, ENDSTOPPULLDOWN_YMAX, \ |
|
|
|
ENDSTOPPULLDOWN_ZMAX, ENDSTOPPULLDOWN_XMIN, \ |
|
|
|
ENDSTOPPULLDOWN_YMIN, ENDSTOPPULLDOWN_ZMIN \ |
|
|
|
) |
|
|
|
#error "PULLDOWN pin mode is not available on the selected board." |
|
|
|
#endif |
|
|
|
|
|
|
@ -602,7 +600,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS |
|
|
|
* I2C Position Encoders |
|
|
|
*/ |
|
|
|
#if ENABLED(I2C_POSITION_ENCODERS) |
|
|
|
#if DISABLED(BABYSTEPPING) || DISABLED(BABYSTEP_XY) |
|
|
|
#if !BOTH(BABYSTEPPING, BABYSTEP_XY) |
|
|
|
#error "I2C_POSITION_ENCODERS requires BABYSTEPPING and BABYSTEP_XY." |
|
|
|
#elif !WITHIN(I2CPE_ENCODER_CNT, 1, 5) |
|
|
|
#error "I2CPE_ENCODER_CNT must be between 1 and 5." |
|
|
@ -1256,7 +1254,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS |
|
|
|
#error "G26_MESH_VALIDATION requires MESH_BED_LEVELING, AUTO_BED_LEVELING_BILINEAR, or AUTO_BED_LEVELING_UBL." |
|
|
|
#endif |
|
|
|
|
|
|
|
#if ENABLED(MESH_EDIT_GFX_OVERLAY) && (DISABLED(AUTO_BED_LEVELING_UBL) || DISABLED(DOGLCD)) |
|
|
|
#if ENABLED(MESH_EDIT_GFX_OVERLAY) && !BOTH(AUTO_BED_LEVELING_UBL, DOGLCD) |
|
|
|
#error "MESH_EDIT_GFX_OVERLAY requires AUTO_BED_LEVELING_UBL and a Graphical LCD." |
|
|
|
#endif |
|
|
|
|
|
|
|