Bläddra i källkod

Do not set current_position in mesh_plan_buffer_line

This is a task which _has_ to be performed by the caller,
such as prepare_move().
Yuri D'Elia 4 år sedan
förälder
incheckning
5fa7c178b5
1 ändrade filer med 0 tillägg och 4 borttagningar
  1. 0 4
      Firmware/Marlin_main.cpp

+ 0 - 4
Firmware/Marlin_main.cpp

@@ -8369,10 +8369,6 @@ void clamp_to_software_endstops(float target[3])
         }
         // The rest of the path.
         plan_buffer_line(x, y, z, e, feed_rate, extruder);
-        current_position[X_AXIS] = x;
-        current_position[Y_AXIS] = y;
-        current_position[Z_AXIS] = z;
-        current_position[E_AXIS] = e;
     }
 #endif  // MESH_BED_LEVELING