Add USE_PROBE_FOR_Z_HOMING option (#17359)

This commit is contained in:
djessup
2020-04-18 00:02:21 +10:00
committed by GitHub
parent a794538c54
commit 360e07c90f
3 changed files with 16 additions and 8 deletions

View File

@ -583,7 +583,7 @@
#if DISABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
#define HAS_CUSTOM_PROBE_PIN 1
#endif
#if Z_HOME_DIR < 0 && !HAS_CUSTOM_PROBE_PIN
#if Z_HOME_DIR < 0 && (!HAS_CUSTOM_PROBE_PIN || ENABLED(USE_PROBE_FOR_Z_HOMING))
#define HOMING_Z_WITH_PROBE 1
#endif
#ifndef Z_PROBE_LOW_POINT