Poll *all* enabled endstop pins (#15525)

This commit is contained in:
Piotr
2019-10-15 21:28:04 +03:00
committed by Scott Lahteine
parent 93097af0ed
commit fe4c69b64a
8 changed files with 23 additions and 35 deletions

View File

@@ -123,7 +123,7 @@ void Backlash::add_correction_steps(const int32_t &da, const int32_t &db, const
}
#if ENABLED(MEASURE_BACKLASH_WHEN_PROBING)
#if USES_Z_MIN_PROBE_ENDSTOP
#if HAS_CUSTOM_PROBE_PIN
#define TEST_PROBE_PIN (READ(Z_MIN_PROBE_PIN) != Z_MIN_PROBE_ENDSTOP_INVERTING)
#else
#define TEST_PROBE_PIN (READ(Z_MIN_PIN) != Z_MIN_ENDSTOP_INVERTING)