Add STARTUP_SCRIPT option. M17 parity with M18. (#14953)

This commit is contained in:
Marcio Teixeira
2019-08-14 20:05:15 -06:00
committed by Scott Lahteine
parent 36dfbaea8c
commit 179d6c4ed1
105 changed files with 729 additions and 17 deletions

View File

@ -927,6 +927,11 @@
#endif
#endif
#define HAS_E_STEPPER_ENABLE (HAS_E_DRIVER(TMC2660) \
|| ( E0_ENABLE_PIN != X_ENABLE_PIN && E1_ENABLE_PIN != X_ENABLE_PIN \
&& E0_ENABLE_PIN != Y_ENABLE_PIN && E1_ENABLE_PIN != Y_ENABLE_PIN ) \
)
// Endstops and bed probe
#define _HAS_STOP(A,M) (PIN_EXISTS(A##_##M) && !IS_X2_ENDSTOP(A,M) && !IS_Y2_ENDSTOP(A,M) && !IS_Z2_OR_PROBE(A,M))
#define HAS_X_MIN _HAS_STOP(X,MIN)