axis_steps_per_unit => axis_steps_per_mm

This commit is contained in:
Scott Lahteine
2016-06-09 16:53:21 -07:00
parent 446515ab79
commit 72c6f2923f
9 changed files with 61 additions and 61 deletions

View File

@ -243,7 +243,7 @@ class Stepper {
// Triggered position of an axis in mm (not core-savvy)
//
static FORCE_INLINE float triggered_position_mm(AxisEnum axis) {
return endstops_trigsteps[axis] / planner.axis_steps_per_unit[axis];
return endstops_trigsteps[axis] / planner.axis_steps_per_mm[axis];
}
private: