Browse Source

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

Salvatore Bramante 2 years ago
parent
commit
df69d72273
No account linked to committer's email address

+ 4
- 0
Marlin/src/pins/stm32f4/pins_BTT_OCTOPUS_PRO_V1_0.h View File

37
   #define TEMP_0_PIN                        PF4   // TH0
37
   #define TEMP_0_PIN                        PF4   // TH0
38
 #endif
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
 #include "pins_BTT_OCTOPUS_V1_common.h"
44
 #include "pins_BTT_OCTOPUS_V1_common.h"

+ 1
- 5
Marlin/src/pins/stm32f4/pins_BTT_OCTOPUS_V1_common.h View File

61
 // Z Probe (when not Z_MIN_PIN)
61
 // Z Probe (when not Z_MIN_PIN)
62
 //
62
 //
63
 #ifndef Z_MIN_PROBE_PIN
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
 #endif
65
 #endif
70
 
66
 
71
 //
67
 //

Loading…
Cancel
Save