Browse Source

Update stepper.cpp

Forgot Z2_MIN_PIN
Naruto-kyun 9 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
       WRITE(Z_MIN_PIN,HIGH);
942
       WRITE(Z_MIN_PIN,HIGH);
943
     #endif
943
     #endif
944
   #endif
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
   #if HAS_X_MAX
953
   #if HAS_X_MAX
947
     SET_INPUT(X_MAX_PIN);
954
     SET_INPUT(X_MAX_PIN);

Loading…
Cancel
Save