Browse Source

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.
pull/1/head
christianh17 8 years ago
parent
commit
f379a326cc
  1. 6
      Marlin/SanityCheck.h

6
Marlin/SanityCheck.h

@ -407,10 +407,10 @@
#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
#error "Z_ENDSTOP_SERVO_NR is required for DEACTIVATE_SERVOS_AFTER_MOVE."
#if ENABLED(DEACTIVATE_SERVOS_AFTER_MOVE) && !HAS_Z_SERVO_ENDSTOP && !defined(SWITCHING_NOZZLE_SERVO_NR)
#error "Z_ENDSTOP_SERVO_NR or switching nozzle is required for DEACTIVATE_SERVOS_AFTER_MOVE."
#endif
/**

Loading…
Cancel
Save