Allow Creality V4 SERVO0 and PROBE pin overrides (#21770)

This commit is contained in:
Ken Sanislo 2021-05-02 00:09:23 -07:00 committed by Scott Lahteine
parent 0ca1170b6d
commit 5d0e94c11c

View File

@ -58,11 +58,13 @@
// //
// Servos // Servos
// //
#ifndef SERVO0_PIN
#ifndef HAS_PIN_27_BOARD #ifndef HAS_PIN_27_BOARD
#define SERVO0_PIN PB0 // BLTouch OUT #define SERVO0_PIN PB0 // BLTouch OUT
#else #else
#define SERVO0_PIN PC6 #define SERVO0_PIN PC6
#endif #endif
#endif
// //
// Limit Switches // Limit Switches
@ -71,7 +73,9 @@
#define Y_STOP_PIN PA6 #define Y_STOP_PIN PA6
#define Z_STOP_PIN PA7 #define Z_STOP_PIN PA7
#ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN PB1 // BLTouch IN #define Z_MIN_PROBE_PIN PB1 // BLTouch IN
#endif
// //
// Filament Runout Sensor // Filament Runout Sensor