Browse Source

Have G92 set the nozzle position on Delta and SCARA

Scott Lahteine 10 years ago
parent
commit
3feaef6526
1 changed files with 7 additions and 1 deletions
  1. 7
    1
      Marlin/Marlin_main.cpp

+ 7
- 1
Marlin/Marlin_main.cpp View File

2827
         didXYZ = true;
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
 #ifdef ULTIPANEL
2839
 #ifdef ULTIPANEL

Loading…
Cancel
Save