1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 13:56:24 +00:00

Merge pull request #6010 from MagoKimbra/rc_fix_bug_set_position_mm

Fix BUG set_position_mm
This commit is contained in:
Scott Lahteine 2017-03-12 00:00:16 -06:00 committed by GitHub
commit 54dada56a7

View File

@ -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)