Merge pull request #2902 from Naruto-kyun/patch-1

Update stepper.cpp
This commit is contained in:
Richard Wackerbarth 2016-01-15 10:04:15 -06:00
commit 51aa7d93eb

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);