Browse Source

Merge pull request #6887 from christianh17/PR-sanitycheck

enable DEACTIVATE_SERVOS_AFTER_MOVE with switching nozzle
Scott Lahteine 7 years ago
parent
commit
89b93058e3
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/SanityCheck.h

+ 3
- 3
Marlin/SanityCheck.h View File

@@ -409,10 +409,10 @@
409 409
 #endif
410 410
 
411 411
 /**
412
- * Servo deactivation depends on servo endstops
412
+ * Servo deactivation depends on servo endstops or switching nozzle
413 413
  */
414
-#if ENABLED(DEACTIVATE_SERVOS_AFTER_MOVE) && !HAS_Z_SERVO_ENDSTOP
415
-  #error "Z_ENDSTOP_SERVO_NR is required for DEACTIVATE_SERVOS_AFTER_MOVE."
414
+#if ENABLED(DEACTIVATE_SERVOS_AFTER_MOVE) && !HAS_Z_SERVO_ENDSTOP && !defined(SWITCHING_NOZZLE_SERVO_NR)
415
+  #error "Z_ENDSTOP_SERVO_NR or switching nozzle is required for DEACTIVATE_SERVOS_AFTER_MOVE."
416 416
 #endif
417 417
 
418 418
 /**

Loading…
Cancel
Save