浏览代码

Fix broken M206/M428/G92 offsets

Scott Lahteine 8 年前
父节点
当前提交
44a849bdce
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp 查看文件

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

正在加载...
取消
保存