File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ void home_delta() {
242
242
#endif
243
243
244
244
// Move all carriages together linearly until an endstop is hit.
245
- current_position.z = DIFF_TERN (HAS_BED_PROBE , delta_height + 10 , probe.offset .z );
245
+ current_position.z = DIFF_TERN (USE_PROBE_FOR_Z_HOMING , delta_height + 10 , probe.offset .z );
246
246
line_to_current_position (homing_feedrate (Z_AXIS));
247
247
planner.synchronize ();
248
248
TERN_ (HAS_DELTA_SENSORLESS_PROBING, endstops.report_states ());
Original file line number Diff line number Diff line change @@ -892,7 +892,7 @@ void restore_feedrate_and_scaling() {
892
892
#elif ENABLED(DELTA)
893
893
894
894
soft_endstop.min [axis] = base_min_pos (axis);
895
- soft_endstop.max [axis] = (axis == Z_AXIS) ? DIFF_TERN (HAS_BED_PROBE , delta_height, probe.offset .z ) : base_max_pos (axis);
895
+ soft_endstop.max [axis] = (axis == Z_AXIS) ? DIFF_TERN (USE_PROBE_FOR_Z_HOMING , delta_height, probe.offset .z ) : base_home_pos (axis);
896
896
897
897
switch (axis) {
898
898
case X_AXIS:
@@ -2468,7 +2468,7 @@ void set_axis_is_at_home(const AxisEnum axis) {
2468
2468
#if ANY(MORGAN_SCARA, AXEL_TPARA)
2469
2469
scara_set_axis_is_at_home (axis);
2470
2470
#elif ENABLED(DELTA)
2471
- current_position[axis] = (axis == Z_AXIS) ? DIFF_TERN (HAS_BED_PROBE , delta_height, probe.offset .z ) : base_home_pos (axis);
2471
+ current_position[axis] = (axis == Z_AXIS) ? DIFF_TERN (USE_PROBE_FOR_Z_HOMING , delta_height, probe.offset .z ) : base_home_pos (axis);
2472
2472
#else
2473
2473
current_position[axis] = SUM_TERN (HAS_HOME_OFFSET, base_home_pos (axis), home_offset[axis]);
2474
2474
#endif
You can’t perform that action at this time.
0 commit comments