|
@@ -9233,11 +9233,17 @@ void set_current_from_steppers_for_axis(const AxisEnum axis) {
|
9233
|
9233
|
return false;
|
9234
|
9234
|
}
|
9235
|
9235
|
}
|
9236
|
|
- delayed_move_time = 0;
|
9237
|
9236
|
// unpark extruder: 1) raise, 2) move into starting XY position, 3) lower
|
9238
|
|
- planner.buffer_line(raised_parked_position[X_AXIS], raised_parked_position[Y_AXIS], raised_parked_position[Z_AXIS], current_position[E_AXIS], planner.max_feedrate_mm_s[Z_AXIS], active_extruder);
|
9239
|
|
- planner.buffer_line(current_position[X_AXIS], current_position[Y_AXIS], raised_parked_position[Z_AXIS], current_position[E_AXIS], PLANNER_XY_FEEDRATE(), active_extruder);
|
9240
|
|
- planner.buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], planner.max_feedrate_mm_s[Z_AXIS], active_extruder);
|
|
9237
|
+ for (uint8_t i = 0; i < 3; i++)
|
|
9238
|
+ planner.buffer_line(
|
|
9239
|
+ i == 0 ? raised_parked_position[X_AXIS] : current_position[X_AXIS],
|
|
9240
|
+ i == 0 ? raised_parked_position[Y_AXIS] : current_position[Y_AXIS],
|
|
9241
|
+ i == 2 ? current_position[Z_AXIS] : raised_parked_position[Z_AXIS],
|
|
9242
|
+ current_position[E_AXIS],
|
|
9243
|
+ i == 1 ? PLANNER_XY_FEEDRATE() : planner.max_feedrate_mm_s[Z_AXIS],
|
|
9244
|
+ active_extruder
|
|
9245
|
+ );
|
|
9246
|
+ delayed_move_time = 0;
|
9241
|
9247
|
active_extruder_parked = false;
|
9242
|
9248
|
break;
|
9243
|
9249
|
case DXC_DUPLICATION_MODE:
|