axis_steps_per_unit => axis_steps_per_mm
This commit is contained in:
parent
446515ab79
commit
72c6f2923f
9 changed files with 61 additions and 61 deletions
|
|
@ -754,7 +754,7 @@ float Stepper::get_axis_position_mm(AxisEnum axis) {
|
|||
#else
|
||||
axis_steps = position(axis);
|
||||
#endif
|
||||
return axis_steps / planner.axis_steps_per_unit[axis];
|
||||
return axis_steps / planner.axis_steps_per_mm[axis];
|
||||
}
|
||||
|
||||
void Stepper::finish_and_disable() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue