Add Planner::sync_from_steppers
Use to sync the planner after an interrupted move (when not overriding the logical position).
This commit is contained in:
@@ -242,6 +242,11 @@ class Planner {
|
||||
*/
|
||||
static void set_position_mm(ARG_X, ARG_Y, ARG_Z, const float& e);
|
||||
|
||||
/**
|
||||
* Sync from the stepper positions. (e.g., after an interrupted move)
|
||||
*/
|
||||
static void sync_from_steppers();
|
||||
|
||||
/**
|
||||
* Set the E position (mm) of the planner (and the E stepper)
|
||||
*/
|
||||
|
Reference in New Issue
Block a user