Reset position_shift on G28 (#15653)
This commit is contained in:
parent
04a55c9188
commit
475041656c
1 changed files with 5 additions and 0 deletions
|
@ -1389,6 +1389,11 @@ void set_axis_is_at_home(const AxisEnum axis) {
|
||||||
babystep.reset_total(axis);
|
babystep.reset_total(axis);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if HAS_POSITION_SHIFT
|
||||||
|
position_shift[axis] = 0;
|
||||||
|
update_workspace_offset(axis);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (DEBUGGING(LEVELING)) {
|
if (DEBUGGING(LEVELING)) {
|
||||||
#if HAS_HOME_OFFSET
|
#if HAS_HOME_OFFSET
|
||||||
DEBUG_ECHOLNPAIR("> home_offset[", axis_codes[axis], "] = ", home_offset[axis]);
|
DEBUG_ECHOLNPAIR("> home_offset[", axis_codes[axis], "] = ", home_offset[axis]);
|
||||||
|
|
Reference in a new issue