Fix bug in planner.set_position_mm
This commit is contained in:
parent
0945674ba2
commit
5a064d0e94
1 changed files with 1 additions and 1 deletions
|
@ -2220,7 +2220,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;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue