Allow Z_STOP_PIN override on SKR 1.4 (#17063)
This commit is contained in:
parent
70863fbd55
commit
d4ac78535c
@ -79,15 +79,21 @@
|
|||||||
#define Z_MIN_PIN P1_00 // PWRDET
|
#define Z_MIN_PIN P1_00 // PWRDET
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
|
#ifndef Z_STOP_PIN
|
||||||
#define Z_STOP_PIN P1_27 // Z-STOP
|
#define Z_STOP_PIN P1_27 // Z-STOP
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// 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 Z_STOP_PIN != P1_27
|
||||||
|
#define Z_MIN_PROBE_PIN P1_27
|
||||||
|
#else
|
||||||
#define Z_MIN_PROBE_PIN P0_10
|
#define Z_MIN_PROBE_PIN P0_10
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// Filament Runout Sensor
|
// Filament Runout Sensor
|
||||||
|
Loading…
Reference in New Issue
Block a user