浏览代码

🐛 Fix Polargraph G92 command (#24223)

Arthur Masson 2 年前
父节点
当前提交
af59056c09
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/src/gcode/geometry/G92.cpp

+ 1
- 1
Marlin/src/gcode/geometry/G92.cpp 查看文件

@@ -93,7 +93,7 @@ void GcodeSuite::G92() {
93 93
                       v = TERN0(HAS_EXTRUDERS, i == E_AXIS) ? l : LOGICAL_TO_NATIVE(l, i),  // Axis position in NATIVE space (applying the existing offset)
94 94
                       d = v - current_position[i];                    // How much is the current axis position altered by?
95 95
           if (!NEAR_ZERO(d)) {
96
-            #if HAS_POSITION_SHIFT && !IS_SCARA                       // When using workspaces...
96
+            #if HAS_POSITION_SHIFT && NONE(IS_SCARA, POLARGRAPH)      // When using workspaces...
97 97
               if (TERN1(HAS_EXTRUDERS, i != E_AXIS)) {
98 98
                 position_shift[i] += d;                               // ...most axes offset the workspace...
99 99
                 update_workspace_offset((AxisEnum)i);

正在加载...
取消
保存