Browse Source

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

Warboy1982 5 years ago
parent
commit
7eac76d31b
No account linked to committer's email address

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

44
 #define Y_MIN_PIN                             26
44
 #define Y_MIN_PIN                             26
45
 #define Y_MAX_PIN                             28
45
 #define Y_MAX_PIN                             28
46
 #define Z_MIN_PIN                             30
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
 // Steppers
60
 // Steppers

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

29
 
29
 
30
 #include "pins_GT2560_REV_A.h"
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
   #define SERVO0_PIN  32
33
   #define SERVO0_PIN  32
36
 #endif
34
 #endif

Loading…
Cancel
Save