Commit c74806df authored by MagoKimbra's avatar MagoKimbra

Fix G92 on Delta

parent 3444e44d
...@@ -3667,7 +3667,11 @@ inline void gcode_G92() { ...@@ -3667,7 +3667,11 @@ inline void gcode_G92() {
didXYZ = true; didXYZ = true;
} }
} }
if (didXYZ) sync_plan_position(); #if defined(DELTA) || defined(SCARA)
if (didXYZ) sync_plan_position_delta();
#else
if (didXYZ) sync_plan_position();
#endif
} }
#ifdef ULTIPANEL #ifdef ULTIPANEL
......
...@@ -1076,7 +1076,7 @@ void st_init() { ...@@ -1076,7 +1076,7 @@ void st_init() {
enable_endstops(true); // Start with endstops active. After homing they can be disabled enable_endstops(true); // Start with endstops active. After homing they can be disabled
sei(); sei();
set_stepper_direction(); // Init directions to out_bits = 0 set_stepper_direction(); // Init directions to out_bits = 0
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment