Explorar el Código

Merge pull request #2107 from thinkyhead/fix_issue_2106

Have G92 set the nozzle position on Delta and SCARA
Scott Lahteine hace 9 años
padre
commit
7ff18f6657
Se han modificado 1 ficheros con 7 adiciones y 1 borrados
  1. 7
    1
      Marlin/Marlin_main.cpp

+ 7
- 1
Marlin/Marlin_main.cpp Ver fichero

@@ -2827,7 +2827,13 @@ inline void gcode_G92() {
2827 2827
         didXYZ = true;
2828 2828
     }
2829 2829
   }
2830
-  if (didXYZ) sync_plan_position();
2830
+  if (didXYZ) {
2831
+    #if defined(DELTA) || defined(SCARA)
2832
+      sync_plan_position_delta();
2833
+    #else
2834
+      sync_plan_position();
2835
+    #endif
2836
+  }
2831 2837
 }
2832 2838
 
2833 2839
 #ifdef ULTIPANEL

Loading…
Cancelar
Guardar