|
@ -507,7 +507,7 @@ bool Probe::probe_down_to_z(const_float_t z, const_feedRate_t fr_mm_s) { |
|
|
// Check to see if the probe was triggered
|
|
|
// Check to see if the probe was triggered
|
|
|
const bool probe_triggered = |
|
|
const bool probe_triggered = |
|
|
#if BOTH(DELTA, SENSORLESS_PROBING) |
|
|
#if BOTH(DELTA, SENSORLESS_PROBING) |
|
|
endstops.trigger_state() & (_BV(X_MIN) | _BV(Y_MIN) | _BV(Z_MIN)) |
|
|
endstops.trigger_state() & (_BV(X_MAX) | _BV(Y_MAX) | _BV(Z_MAX)) |
|
|
#else |
|
|
#else |
|
|
TEST(endstops.trigger_state(), TERN(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN, Z_MIN, Z_MIN_PROBE)) |
|
|
TEST(endstops.trigger_state(), TERN(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN, Z_MIN, Z_MIN_PROBE)) |
|
|
#endif |
|
|
#endif |
|
|