enable DEACTIVATE_SERVOS_AFTER_MOVE with switching nozzle

When using switching nozzle it should be possible to disable the servo after move. Do it only if you do not need the servo power to keep the position.
master
christianh17 8 years ago
parent ac959b12ee
commit f379a326cc

@ -407,10 +407,10 @@
#endif #endif
/** /**
* Servo deactivation depends on servo endstops * Servo deactivation depends on servo endstops or switching nozzle
*/ */
#if ENABLED(DEACTIVATE_SERVOS_AFTER_MOVE) && !HAS_Z_SERVO_ENDSTOP #if ENABLED(DEACTIVATE_SERVOS_AFTER_MOVE) && !HAS_Z_SERVO_ENDSTOP && !defined(SWITCHING_NOZZLE_SERVO_NR)
#error "Z_ENDSTOP_SERVO_NR is required for DEACTIVATE_SERVOS_AFTER_MOVE." #error "Z_ENDSTOP_SERVO_NR or switching nozzle is required for DEACTIVATE_SERVOS_AFTER_MOVE."
#endif #endif
/** /**

Loading…
Cancel
Save