From 2932602643cce9a5d8edd3fb148aa33a65ea9fba Mon Sep 17 00:00:00 2001 From: Naruto-kyun Date: Fri, 15 Jan 2016 16:50:43 +0100 Subject: [PATCH] Update stepper.cpp Forgot Z2_MIN_PIN --- Marlin/stepper.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Marlin/stepper.cpp b/Marlin/stepper.cpp index fa1e9bfdc..395b51786 100644 --- a/Marlin/stepper.cpp +++ b/Marlin/stepper.cpp @@ -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);