Browse Source

Update stepper.cpp

Forgot Z2_MIN_PIN
Naruto-kyun 8 years ago
parent
commit
2932602643
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      Marlin/stepper.cpp

+ 7
- 0
Marlin/stepper.cpp View File

@@ -942,6 +942,13 @@ void st_init() {
942 942
       WRITE(Z_MIN_PIN,HIGH);
943 943
     #endif
944 944
   #endif
945
+  
946
+  #if HAS_Z2_MIN
947
+    SET_INPUT(Z2_MIN_PIN);
948
+    #if ENABLED(ENDSTOPPULLUP_ZMIN)
949
+      WRITE(Z2_MIN_PIN,HIGH);
950
+    #endif
951
+  #endif
945 952
 
946 953
   #if HAS_X_MAX
947 954
     SET_INPUT(X_MAX_PIN);

Loading…
Cancel
Save