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

This commit is contained in:
Salvatore Bramante 2022-01-18 10:09:06 +01:00 committed by Scott Lahteine
parent ac6c1a9e12
commit 4e72df9a28
2 changed files with 5 additions and 5 deletions

View File

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

View File

@ -61,11 +61,7 @@
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
#ifndef Z_MIN_PROBE_PIN #ifndef Z_MIN_PROBE_PIN
#if ENABLED(BLTOUCH)
#define Z_MIN_PROBE_PIN PB7 #define Z_MIN_PROBE_PIN PB7
#else
#define Z_MIN_PROBE_PIN PC5 // Probe (Proximity switch) port
#endif
#endif #endif
// //