Sfoglia il codice sorgente

Patch BLTouch Z_MAX_PIN for GT2560 Rev.A (non-plus) (#17721)

Warboy1982 4 anni fa
parent
commit
7eac76d31b
Nessun account collegato all'indirizzo email del committer

+ 11
- 1
Marlin/src/pins/mega/pins_GT2560_REV_A.h Vedi File

@@ -44,7 +44,17 @@
44 44
 #define Y_MIN_PIN                             26
45 45
 #define Y_MAX_PIN                             28
46 46
 #define Z_MIN_PIN                             30
47
-#define Z_MAX_PIN                             32
47
+
48
+#if ENABLED(BLTOUCH)
49
+  #if MB(GT2560_REV_A_PLUS)
50
+    #define SERVO0_PIN                        11
51
+  #else
52
+    #define SERVO0_PIN                        32
53
+  #endif
54
+  #define Z_MAX_PIN                           -1
55
+#else
56
+  #define Z_MAX_PIN                           32
57
+#endif
48 58
 
49 59
 //
50 60
 // Steppers

+ 1
- 3
Marlin/src/pins/mega/pins_GT2560_REV_A_PLUS.h Vedi File

@@ -29,8 +29,6 @@
29 29
 
30 30
 #include "pins_GT2560_REV_A.h"
31 31
 
32
-#if ENABLED(BLTOUCH)
33
-  #define SERVO0_PIN  11
34
-#else
32
+#if DISABLED(BLTOUCH)
35 33
   #define SERVO0_PIN  32
36 34
 #endif

Loading…
Annulla
Salva