🐛 Fix DELTA with SENSORLESS_PROBING
This commit is contained in:
committed by
Scott Lahteine
parent
57eef65d9c
commit
85fa8c55c9
@ -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
|
||||
const bool probe_triggered =
|
||||
#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
|
||||
TEST(endstops.trigger_state(), TERN(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN, Z_MIN, Z_MIN_PROBE))
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user