Browse Source

Merge pull request #6887 from christianh17/PR-sanitycheck

enable DEACTIVATE_SERVOS_AFTER_MOVE with switching nozzle
pull/1/head
Scott Lahteine 8 years ago
committed by GitHub
parent
commit
89b93058e3
  1. 6
      Marlin/SanityCheck.h

6
Marlin/SanityCheck.h

@ -409,10 +409,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