Browse Source

Fix broken M206/M428/G92 offsets

pull/1/head
Scott Lahteine 8 years ago
committed by Scott Lahteine
parent
commit
44a849bdce
  1. 2
      Marlin/Marlin_main.cpp

2
Marlin/Marlin_main.cpp

@ -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