diff --git a/Marlin/stepper.cpp b/Marlin/stepper.cpp index fa1e9bfdcf..395b517863 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);