Merge upstream changes from Marlin 2.1.2.1
This commit is contained in:
@@ -843,11 +843,13 @@ namespace ExtUI {
|
||||
#endif // BABYSTEPPING
|
||||
|
||||
float getZOffset_mm() {
|
||||
return (0.0f
|
||||
return (
|
||||
#if HAS_BED_PROBE
|
||||
+ probe.offset.z
|
||||
probe.offset.z
|
||||
#elif ENABLED(BABYSTEP_DISPLAY_TOTAL)
|
||||
+ planner.mm_per_step[Z_AXIS] * babystep.axis_total[BS_AXIS_IND(Z_AXIS)]
|
||||
planner.mm_per_step[Z_AXIS] * babystep.axis_total[BS_AXIS_IND(Z_AXIS)]
|
||||
#else
|
||||
0.0f
|
||||
#endif
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user