|
|
@ -3598,13 +3598,14 @@ inline void gcode_G92() {
|
|
|
|
|
|
|
|
|
|
|
|
current_position[i] = v;
|
|
|
|
current_position[i] = v;
|
|
|
|
|
|
|
|
|
|
|
|
position_shift[i] += v - p; // Offset the coordinate space
|
|
|
|
|
|
|
|
update_software_endstops((AxisEnum)i);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (i == E_AXIS)
|
|
|
|
if (i == E_AXIS)
|
|
|
|
plan_set_e_position(v);
|
|
|
|
plan_set_e_position(v);
|
|
|
|
else
|
|
|
|
else {
|
|
|
|
|
|
|
|
position_shift[i] += v - p; // Offset the coordinate space
|
|
|
|
|
|
|
|
update_software_endstops((AxisEnum)i);
|
|
|
|
|
|
|
|
|
|
|
|
didXYZ = true;
|
|
|
|
didXYZ = true;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (didXYZ) {
|
|
|
|
if (didXYZ) {
|
|
|
|