Browse Source

Allow Z_STOP_PIN override on SKR 1.4 (#17063)

Scott Lahteine 4 years ago
parent
commit
d4ac78535c
No account linked to committer's email address
1 changed files with 8 additions and 2 deletions
  1. 8
    2
      Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h

+ 8
- 2
Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h View File

@@ -79,14 +79,20 @@
79 79
     #define Z_MIN_PIN      P1_00   // PWRDET
80 80
   #endif
81 81
 #else
82
-  #define Z_STOP_PIN       P1_27   // Z-STOP
82
+  #ifndef Z_STOP_PIN
83
+    #define Z_STOP_PIN     P1_27   // Z-STOP
84
+  #endif
83 85
 #endif
84 86
 
85 87
 //
86 88
 // Z Probe (when not Z_MIN_PIN)
87 89
 //
88 90
 #ifndef Z_MIN_PROBE_PIN
89
-  #define Z_MIN_PROBE_PIN  P0_10
91
+  #if Z_STOP_PIN != P1_27
92
+    #define Z_MIN_PROBE_PIN P1_27
93
+  #else
94
+    #define Z_MIN_PROBE_PIN P0_10
95
+  #endif
90 96
 #endif
91 97
 
92 98
 //

Loading…
Cancel
Save