Browse Source

Allow Creality V4 SERVO0 and PROBE pin overrides (#21770)

Ken Sanislo 4 years ago
parent
commit
78de32e552
No account linked to committer's email address
1 changed files with 9 additions and 5 deletions
  1. 9
    5
      Marlin/src/pins/stm32f1/pins_CREALITY_V4.h

+ 9
- 5
Marlin/src/pins/stm32f1/pins_CREALITY_V4.h View File

@@ -58,10 +58,12 @@
58 58
 //
59 59
 // Servos
60 60
 //
61
-#ifndef HAS_PIN_27_BOARD
62
-  #define SERVO0_PIN                        PB0   // BLTouch OUT
63
-#else
64
-  #define SERVO0_PIN                        PC6
61
+#ifndef SERVO0_PIN
62
+  #ifndef HAS_PIN_27_BOARD
63
+    #define SERVO0_PIN                      PB0   // BLTouch OUT
64
+  #else
65
+    #define SERVO0_PIN                      PC6
66
+  #endif
65 67
 #endif
66 68
 
67 69
 //
@@ -71,7 +73,9 @@
71 73
 #define Y_STOP_PIN                          PA6
72 74
 #define Z_STOP_PIN                          PA7
73 75
 
74
-#define Z_MIN_PROBE_PIN                     PB1   // BLTouch IN
76
+#ifndef Z_MIN_PROBE_PIN
77
+  #define Z_MIN_PROBE_PIN                   PB1   // BLTouch IN
78
+#endif
75 79
 
76 80
 //
77 81
 // Filament Runout Sensor

Loading…
Cancel
Save