Просмотр исходного кода

🐛 Fix Polargraph G92 command (#24223)

Arthur Masson 2 лет назад
Родитель
Сommit
af59056c09
Аккаунт пользователя с таким Email не найден
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);

Загрузка…
Отмена
Сохранить