Add HAS_SERVO_ENDSTOPS to simplify conditonals
This commit is contained in:
committed by
Richard Wackerbarth
parent
47ae96ce15
commit
ed4a6371ad
@@ -98,7 +98,7 @@
|
||||
/**
|
||||
* Servo deactivation depends on servo endstops
|
||||
*/
|
||||
#if defined(DEACTIVATE_SERVOS_AFTER_MOVE) && !defined(SERVO_ENDSTOPS)
|
||||
#if defined(DEACTIVATE_SERVOS_AFTER_MOVE) && !HAS_SERVO_ENDSTOPS
|
||||
#error At least one of the ?_ENDSTOP_SERVO_NR is required for DEACTIVATE_SERVOS_AFTER_MOVE.
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user