Update stepper.cpp

Forgot Z2_MIN_PIN
This commit is contained in:
Naruto-kyun 2016-01-15 16:50:43 +01:00
parent f6950acb8e
commit 2932602643

View File

@ -942,6 +942,13 @@ void st_init() {
WRITE(Z_MIN_PIN,HIGH);
#endif
#endif
#if HAS_Z2_MIN
SET_INPUT(Z2_MIN_PIN);
#if ENABLED(ENDSTOPPULLUP_ZMIN)
WRITE(Z2_MIN_PIN,HIGH);
#endif
#endif
#if HAS_X_MAX
SET_INPUT(X_MAX_PIN);