|
|
@ -95,6 +95,8 @@ |
|
|
|
#error "SERVO_ENDSTOP_ANGLES is deprecated. Use Z_SERVO_ANGLES instead." |
|
|
|
#elif defined(X_ENDSTOP_SERVO_NR) || defined(Y_ENDSTOP_SERVO_NR) |
|
|
|
#error "X_ENDSTOP_SERVO_NR and Y_ENDSTOP_SERVO_NR are deprecated and should be removed." |
|
|
|
#elif defined(Z_ENDSTOP_SERVO_NR) |
|
|
|
#error "Z_ENDSTOP_SERVO_NR is now Z_PROBE_SERVO_NR. Please update your configuration." |
|
|
|
#elif defined(DEFAULT_XYJERK) |
|
|
|
#error "DEFAULT_XYJERK is deprecated. Use DEFAULT_XJERK and DEFAULT_YJERK instead." |
|
|
|
#elif defined(XY_TRAVEL_SPEED) |
|
|
@ -630,8 +632,8 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE, |
|
|
|
/**
|
|
|
|
* Servo deactivation depends on servo endstops, switching nozzle, or switching extruder |
|
|
|
*/ |
|
|
|
#if ENABLED(DEACTIVATE_SERVOS_AFTER_MOVE) && !HAS_Z_SERVO_ENDSTOP && !defined(SWITCHING_NOZZLE_SERVO_NR) && !defined(SWITCHING_EXTRUDER_SERVO_NR) |
|
|
|
#error "Z_ENDSTOP_SERVO_NR, switching nozzle, or switching extruder is required for DEACTIVATE_SERVOS_AFTER_MOVE." |
|
|
|
#if ENABLED(DEACTIVATE_SERVOS_AFTER_MOVE) && !HAS_Z_SERVO_PROBE && !defined(SWITCHING_NOZZLE_SERVO_NR) && !defined(SWITCHING_EXTRUDER_SERVO_NR) |
|
|
|
#error "Z_PROBE_SERVO_NR, switching nozzle, or switching extruder is required for DEACTIVATE_SERVOS_AFTER_MOVE." |
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
@ -697,7 +699,7 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE, |
|
|
|
#if 1 < 0 \ |
|
|
|
+ ENABLED(PROBE_MANUALLY) \ |
|
|
|
+ ENABLED(FIX_MOUNTED_PROBE) \ |
|
|
|
+ (HAS_Z_SERVO_ENDSTOP && DISABLED(BLTOUCH)) \ |
|
|
|
+ (HAS_Z_SERVO_PROBE && DISABLED(BLTOUCH)) \ |
|
|
|
+ ENABLED(BLTOUCH) \ |
|
|
|
+ ENABLED(SOLENOID_PROBE) \ |
|
|
|
+ ENABLED(Z_PROBE_ALLEN_KEY) \ |
|
|
@ -728,11 +730,11 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE, |
|
|
|
/**
|
|
|
|
* NUM_SERVOS is required for a Z servo probe |
|
|
|
*/ |
|
|
|
#if HAS_Z_SERVO_ENDSTOP |
|
|
|
#if HAS_Z_SERVO_PROBE |
|
|
|
#ifndef NUM_SERVOS |
|
|
|
#error "You must set NUM_SERVOS for a Z servo probe (Z_ENDSTOP_SERVO_NR)." |
|
|
|
#elif Z_ENDSTOP_SERVO_NR >= NUM_SERVOS |
|
|
|
#error "Z_ENDSTOP_SERVO_NR must be smaller than NUM_SERVOS." |
|
|
|
#error "You must set NUM_SERVOS for a Z servo probe (Z_PROBE_SERVO_NR)." |
|
|
|
#elif Z_PROBE_SERVO_NR >= NUM_SERVOS |
|
|
|
#error "Z_PROBE_SERVO_NR must be smaller than NUM_SERVOS." |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|