Planner singleton class
This commit is contained in:
parent
5076d12344
commit
96f51f400f
10 changed files with 587 additions and 499 deletions
|
|
@ -245,7 +245,7 @@ class Stepper {
|
|||
// Triggered position of an axis in mm (not core-savvy)
|
||||
//
|
||||
FORCE_INLINE float triggered_position_mm(AxisEnum axis) {
|
||||
return endstops_trigsteps[axis] / axis_steps_per_unit[axis];
|
||||
return endstops_trigsteps[axis] / planner.axis_steps_per_unit[axis];
|
||||
}
|
||||
|
||||
FORCE_INLINE unsigned short calc_timer(unsigned short step_rate) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue