瀏覽代碼

🐛 Fix Polargraph G92 command (#24223)

Arthur Masson 2 年之前
父節點
當前提交
af59056c09
No account linked to committer's email address
共有 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);

Loading…
取消
儲存