Add HAS_SERVO_ENDSTOPS to simplify conditonals
This commit is contained in:
parent
47ae96ce15
commit
ed4a6371ad
3 changed files with 16 additions and 15 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue