Match bltouch test in do_homing_move with new code
This commit is contained in:
parent
eb4fa8adf8
commit
041d127cd3
1 changed files with 1 additions and 1 deletions
|
@ -2199,7 +2199,7 @@ static void clean_up_after_endstop_or_probe_move() {
|
||||||
static void do_homing_move(const AxisEnum axis, float distance, float fr_mm_s=0.0) {
|
static void do_homing_move(const AxisEnum axis, float distance, float fr_mm_s=0.0) {
|
||||||
|
|
||||||
#if HOMING_Z_WITH_PROBE && ENABLED(BLTOUCH)
|
#if HOMING_Z_WITH_PROBE && ENABLED(BLTOUCH)
|
||||||
bool deploy_bltouch = (axis == Z_AXIS && where < 0);
|
bool deploy_bltouch = (axis == Z_AXIS && distance < 0);
|
||||||
if (deploy_bltouch) set_bltouch_deployed(true);
|
if (deploy_bltouch) set_bltouch_deployed(true);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Reference in a new issue