|
@@ -773,7 +773,7 @@ namespace ExtUI {
|
773
|
773
|
#if HAS_BED_PROBE
|
774
|
774
|
return probe_offset.z;
|
775
|
775
|
#elif ENABLED(BABYSTEP_DISPLAY_TOTAL)
|
776
|
|
- return babystep.axis_total[BS_TOTAL_AXIS(Z_AXIS) + 1];
|
|
776
|
+ return (planner.steps_to_mm[Z_AXIS] * babystep.axis_total[BS_TODO_AXIS(Z_AXIS)]);
|
777
|
777
|
#else
|
778
|
778
|
return 0.0;
|
779
|
779
|
#endif
|
|
@@ -784,7 +784,7 @@ namespace ExtUI {
|
784
|
784
|
if (WITHIN(value, Z_PROBE_OFFSET_RANGE_MIN, Z_PROBE_OFFSET_RANGE_MAX))
|
785
|
785
|
probe_offset.z = value;
|
786
|
786
|
#elif ENABLED(BABYSTEP_DISPLAY_TOTAL)
|
787
|
|
- babystep.add_mm(Z_AXIS, (value - babystep.axis_total[BS_TOTAL_AXIS(Z_AXIS) + 1]));
|
|
787
|
+ babystep.add_mm(Z_AXIS, (value - getZOffset_mm()));
|
788
|
788
|
#else
|
789
|
789
|
UNUSED(value);
|
790
|
790
|
#endif
|