Skip to content

Commit

Permalink
🐛 Fix Octopus v1.x probe pin (#23548)
Browse files Browse the repository at this point in the history
  • Loading branch information
salva00 authored and thinkyhead committed May 7, 2022
1 parent ac6c1a9 commit 4e72df9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 4 additions & 0 deletions Marlin/src/pins/stm32f4/pins_BTT_OCTOPUS_PRO_V1_0.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,8 @@
#define TEMP_0_PIN PF4 // TH0
#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"
6 changes: 1 addition & 5 deletions Marlin/src/pins/stm32f4/pins_BTT_OCTOPUS_V1_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,7 @@
// Z Probe (when not Z_MIN_PIN)
//
#ifndef Z_MIN_PROBE_PIN
#if ENABLED(BLTOUCH)
#define Z_MIN_PROBE_PIN PB7
#else
#define Z_MIN_PROBE_PIN PC5 // Probe (Proximity switch) port
#endif
#define Z_MIN_PROBE_PIN PB7
#endif

//
Expand Down

0 comments on commit 4e72df9

Please sign in to comment.