Extend DEACTIVATE_SERVOS_AFTER_MOVE sanity-check

As proposed in #7429
master
Scott Lahteine 7 years ago
parent b370906031
commit dd66d21749

@ -418,10 +418,10 @@
#endif #endif
/** /**
* Servo deactivation depends on servo endstops or switching nozzle * 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) #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 or switching nozzle is required for DEACTIVATE_SERVOS_AFTER_MOVE." #error "Z_ENDSTOP_SERVO_NR, switching nozzle, or switching extruder is required for DEACTIVATE_SERVOS_AFTER_MOVE."
#endif #endif
/** /**

Loading…
Cancel
Save