mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
Fix bug in Planner::set_position_mm
This commit is contained in:
parent
85d57f7a9e
commit
31261d0c17
@ -1655,7 +1655,7 @@ void Planner::set_position_mm(const AxisEnum axis, const float &v) {
|
||||
#if HAS_POSITION_FLOAT
|
||||
position_float[axis] = v;
|
||||
#endif
|
||||
stepper.set_position(axis, v);
|
||||
stepper.set_position(axis, position[axis]);
|
||||
previous_speed[axis] = 0.0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user