Add HAS_SERVO_ENDSTOPS to simplify conditonals

This commit is contained in:
Scott Lahteine
2015-07-30 20:42:34 -07:00
committed by Richard Wackerbarth
parent 47ae96ce15
commit ed4a6371ad
3 changed files with 16 additions and 15 deletions

View File

@@ -526,6 +526,7 @@
#endif
#if (X_ENDSTOP_SERVO_NR >= 0) || (Y_ENDSTOP_SERVO_NR >= 0) || (Z_ENDSTOP_SERVO_NR >= 0)
#define SERVO_ENDSTOPS {X_ENDSTOP_SERVO_NR, Y_ENDSTOP_SERVO_NR, Z_ENDSTOP_SERVO_NR}
#define HAS_SERVO_ENDSTOPS true
#endif
#endif