|
@@ -2584,10 +2584,10 @@ bool Planner::buffer_segment(const float &a, const float &b, const float &c, con
|
2584
|
2584
|
// The target position of the tool in absolute steps
|
2585
|
2585
|
// Calculate target position in absolute steps
|
2586
|
2586
|
const int32_t target[ABCE] = {
|
2587
|
|
- LROUND(a * settings.axis_steps_per_mm[A_AXIS]),
|
2588
|
|
- LROUND(b * settings.axis_steps_per_mm[B_AXIS]),
|
2589
|
|
- LROUND(c * settings.axis_steps_per_mm[C_AXIS]),
|
2590
|
|
- LROUND(e * settings.axis_steps_per_mm[E_AXIS_N(extruder)])
|
|
2587
|
+ int32_t(LROUND(a * settings.axis_steps_per_mm[A_AXIS])),
|
|
2588
|
+ int32_t(LROUND(b * settings.axis_steps_per_mm[B_AXIS])),
|
|
2589
|
+ int32_t(LROUND(c * settings.axis_steps_per_mm[C_AXIS])),
|
|
2590
|
+ int32_t(LROUND(e * settings.axis_steps_per_mm[E_AXIS_N(extruder)]))
|
2591
|
2591
|
};
|
2592
|
2592
|
|
2593
|
2593
|
#if HAS_POSITION_FLOAT
|