Clean up planner modifier methods
This commit is contained in:
@ -221,11 +221,7 @@ void report_real_position() {
|
||||
npos.e = planner.get_axis_position_mm(E_AXIS);
|
||||
|
||||
#if HAS_POSITION_MODIFIERS
|
||||
planner.unapply_modifiers(npos
|
||||
#if HAS_LEVELING
|
||||
, true
|
||||
#endif
|
||||
);
|
||||
planner.unapply_modifiers(npos, true);
|
||||
#endif
|
||||
|
||||
report_logical_position(npos);
|
||||
@ -304,11 +300,7 @@ void set_current_from_steppers_for_axis(const AxisEnum axis) {
|
||||
pos.e = planner.get_axis_position_mm(E_AXIS);
|
||||
|
||||
#if HAS_POSITION_MODIFIERS
|
||||
planner.unapply_modifiers(pos
|
||||
#if HAS_LEVELING
|
||||
, true
|
||||
#endif
|
||||
);
|
||||
planner.unapply_modifiers(pos, true);
|
||||
#endif
|
||||
|
||||
if (axis == ALL_AXES)
|
||||
|
Reference in New Issue
Block a user