Browse Source

Extend DEACTIVATE_SERVOS_AFTER_MOVE sanity-check

As proposed in #7429
pull/1/head
Scott Lahteine 7 years ago
parent
commit
dd66d21749
  1. 6
      Marlin/SanityCheck.h

6
Marlin/SanityCheck.h

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

Loading…
Cancel
Save