ソースを参照

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

Warboy1982 4年前
コミット
7eac76d31b
コミッターのメールアドレスに関連付けられたアカウントが存在しません
2個のファイルの変更12行の追加4行の削除
  1. 11
    1
      Marlin/src/pins/mega/pins_GT2560_REV_A.h
  2. 1
    3
      Marlin/src/pins/mega/pins_GT2560_REV_A_PLUS.h

+ 11
- 1
Marlin/src/pins/mega/pins_GT2560_REV_A.h ファイルの表示

@@ -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 ファイルの表示

@@ -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

読み込み中…
キャンセル
保存