|
@@ -3536,10 +3536,7 @@ static void gcode_M600(bool automatic, float x_position, float y_position, float
|
|
|
float HotendTempBckp = degTargetHotend(active_extruder);
|
|
|
int fanSpeedBckp = fanSpeed;
|
|
|
|
|
|
- lastpos[X_AXIS] = current_position[X_AXIS];
|
|
|
- lastpos[Y_AXIS] = current_position[Y_AXIS];
|
|
|
- lastpos[Z_AXIS] = current_position[Z_AXIS];
|
|
|
- lastpos[E_AXIS] = current_position[E_AXIS];
|
|
|
+ memcpy(lastpos, current_position, sizeof(lastpos));
|
|
|
|
|
|
// Retract E
|
|
|
current_position[E_AXIS] += e_shift;
|