|
@ -3379,24 +3379,6 @@ static_assert(_PLUS_TEST(4), "HOMING_FEEDRATE_MM_M values must be positive."); |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#if ENABLED(MECHANICAL_GANTRY_CALIBRATION) |
|
|
|
|
|
#if NONE(HAS_MOTOR_CURRENT_DAC, HAS_MOTOR_CURRENT_SPI, HAS_MOTOR_CURRENT_DAC, HAS_TRINAMIC_CONFIG, HAS_MOTOR_CURRENT_PWM) |
|
|
|
|
|
#error "It is highly recommended to have adjustable current drivers to prevent damage. Disable this line to continue anyway." |
|
|
|
|
|
#elif !defined(GANTRY_CALIBRATION_CURRENT) |
|
|
|
|
|
#error "MECHANICAL_GANTRY_CALIBRATION Requires GANTRY_CALIBRATION_CURRENT to be set." |
|
|
|
|
|
#elif !defined(GANTRY_CALIBRATION_EXTRA_HEIGHT) |
|
|
|
|
|
#error "MECHANICAL_GANTRY_CALIBRATION Requires GANTRY_CALIBRATION_EXTRA_HEIGHT to be set." |
|
|
|
|
|
#elif !defined(GANTRY_CALIBRATION_FEEDRATE) |
|
|
|
|
|
#error "MECHANICAL_GANTRY_CALIBRATION Requires GANTRY_CALIBRATION_FEEDRATE to be set." |
|
|
|
|
|
#elif ENABLED(Z_MULTI_ENDSTOPS) |
|
|
|
|
|
#error "Sorry! MECHANICAL_GANTRY_CALIBRATION cannot be used with Z_MULTI_ENDSTOPS." |
|
|
|
|
|
#elif ENABLED(Z_STEPPER_AUTO_ALIGN) |
|
|
|
|
|
#error "Sorry! MECHANICAL_GANTRY_CALIBRATION cannot be used with Z_STEPPER_AUTO_ALIGN." |
|
|
|
|
|
#endif |
|
|
|
|
|
#if defined(GANTRY_CALIBRATION_SAFE_POSITION) && !defined(GANTRY_CALIBRATION_XY_PARK_FEEDRATE) |
|
|
|
|
|
#error "GANTRY_CALIBRATION_SAFE_POSITION Requires GANTRY_CALIBRATION_XY_PARK_FEEDRATE to be set." |
|
|
|
|
|
#endif |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#if BOTH(Z_STEPPER_AUTO_ALIGN, MECHANICAL_GANTRY_CALIBRATION) |
|
|
#if BOTH(Z_STEPPER_AUTO_ALIGN, MECHANICAL_GANTRY_CALIBRATION) |
|
|
#error "You cannot use Z_STEPPER_AUTO_ALIGN and MECHANICAL_GANTRY_CALIBRATION at the same time." |
|
|
#error "You cannot use Z_STEPPER_AUTO_ALIGN and MECHANICAL_GANTRY_CALIBRATION at the same time." |
|
|