Skip to content

Commit

Permalink
Allow Creality V4 SERVO0 and PROBE pin overrides (#21770)
Browse files Browse the repository at this point in the history
  • Loading branch information
ksanislo authored and thinkyhead committed May 2, 2021
1 parent 0ca1170 commit 5d0e94c
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions Marlin/src/pins/stm32f1/pins_CREALITY_V4.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,12 @@
//
// Servos
//
#ifndef HAS_PIN_27_BOARD
#define SERVO0_PIN PB0 // BLTouch OUT
#else
#define SERVO0_PIN PC6
#ifndef SERVO0_PIN
#ifndef HAS_PIN_27_BOARD
#define SERVO0_PIN PB0 // BLTouch OUT
#else
#define SERVO0_PIN PC6
#endif
#endif

//
Expand All @@ -71,7 +73,9 @@
#define Y_STOP_PIN PA6
#define Z_STOP_PIN PA7

#define Z_MIN_PROBE_PIN PB1 // BLTouch IN
#ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN PB1 // BLTouch IN
#endif

//
// Filament Runout Sensor
Expand Down

0 comments on commit 5d0e94c

Please sign in to comment.