Merge pull request #6010 from MagoKimbra/rc_fix_bug_set_position_mm

Fix BUG set_position_mm
master
Scott Lahteine 8 years ago committed by GitHub
commit 54dada56a7

@ -348,13 +348,7 @@ class Planner {
static void set_position_mm_kinematic(const float position[NUM_AXIS]); static void set_position_mm_kinematic(const float position[NUM_AXIS]);
static void set_position_mm(const AxisEnum axis, const float &v); static void set_position_mm(const AxisEnum axis, const float &v);
static FORCE_INLINE void set_z_position_mm(const float &z) { set_position_mm(Z_AXIS, z); } static FORCE_INLINE void set_z_position_mm(const float &z) { set_position_mm(Z_AXIS, z); }
static FORCE_INLINE void set_e_position_mm(const float &e) { static FORCE_INLINE void set_e_position_mm(const float &e) { set_position_mm(AxisEnum(E_AXIS), e); }
set_position_mm(AxisEnum(E_AXIS
#if ENABLED(DISTINCT_E_FACTORS)
+ active_extruder
#endif
), e);
}
/** /**
* Sync from the stepper positions. (e.g., after an interrupted move) * Sync from the stepper positions. (e.g., after an interrupted move)

Loading…
Cancel
Save