소스 검색

🐛 Fix Octopus v1.x probe pin (#23548)

Salvatore Bramante 2 년 전
부모
커밋
df69d72273
No account linked to committer's email address
2개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 4
    0
      Marlin/src/pins/stm32f4/pins_BTT_OCTOPUS_PRO_V1_0.h
  2. 1
    5
      Marlin/src/pins/stm32f4/pins_BTT_OCTOPUS_V1_common.h

+ 4
- 0
Marlin/src/pins/stm32f4/pins_BTT_OCTOPUS_PRO_V1_0.h 파일 보기

@@ -37,4 +37,8 @@
37 37
   #define TEMP_0_PIN                        PF4   // TH0
38 38
 #endif
39 39
 
40
+#if !defined(Z_MIN_PROBE_PIN) && DISABLED(BLTOUCH)
41
+  #define Z_MIN_PROBE_PIN                   PC5   // Probe (Proximity switch) port
42
+#endif
43
+
40 44
 #include "pins_BTT_OCTOPUS_V1_common.h"

+ 1
- 5
Marlin/src/pins/stm32f4/pins_BTT_OCTOPUS_V1_common.h 파일 보기

@@ -61,11 +61,7 @@
61 61
 // Z Probe (when not Z_MIN_PIN)
62 62
 //
63 63
 #ifndef Z_MIN_PROBE_PIN
64
-  #if ENABLED(BLTOUCH)
65
-    #define Z_MIN_PROBE_PIN                 PB7
66
-  #else
67
-    #define Z_MIN_PROBE_PIN                 PC5   // Probe (Proximity switch) port
68
-  #endif
64
+  #define Z_MIN_PROBE_PIN                   PB7
69 65
 #endif
70 66
 
71 67
 //

Loading…
취소
저장