|
@@ -9455,7 +9455,9 @@ void set_current_from_steppers_for_axis(const AxisEnum axis) {
|
9455
|
9455
|
// For non-interpolated delta calculate every segment
|
9456
|
9456
|
for (uint16_t s = segments + 1; --s;) {
|
9457
|
9457
|
DELTA_NEXT(segment_distance[i]);
|
9458
|
|
- planner.buffer_line_kinematic(DELTA_VAR, _feedrate_mm_s, active_extruder);
|
|
9458
|
+ DELTA_IK();
|
|
9459
|
+ ADJUST_DELTA(DELTA_VAR); // Adjust Z if bed leveling is enabled
|
|
9460
|
+ planner.buffer_line(delta[A_AXIS], delta[B_AXIS], delta[C_AXIS], DELTA_VAR[E_AXIS], _feedrate_mm_s, active_extruder);
|
9459
|
9461
|
}
|
9460
|
9462
|
|
9461
|
9463
|
#endif
|