Fix broken M206/M428/G92 offsets

master
Scott Lahteine 8 years ago committed by Scott Lahteine
parent 52978e5ba5
commit 44a849bdce

@ -1346,7 +1346,7 @@ bool get_target_extruder_from_command(int code) {
* at the same positions relative to the machine. * at the same positions relative to the machine.
*/ */
void update_software_endstops(const AxisEnum axis) { void update_software_endstops(const AxisEnum axis) {
const float offs = workspace_offset[axis] = LOGICAL_POSITION(0, axis); const float offs = workspace_offset[axis] = home_offset[axis] + position_shift[axis];
#if ENABLED(DUAL_X_CARRIAGE) #if ENABLED(DUAL_X_CARRIAGE)
if (axis == X_AXIS) { if (axis == X_AXIS) {

Loading…
Cancel
Save