Browse Source

Fix G26 corrupted position

vanilla_fb_2.0.x
Scott Lahteine 4 years ago
parent
commit
a96be32fae
  1. 4
      Marlin/src/gcode/bedlevel/G26.cpp

4
Marlin/src/gcode/bedlevel/G26.cpp

@ -640,10 +640,8 @@ void GcodeSuite::G26() {
*/
set_bed_leveling_enabled(!parser.seen('D'));
if (current_position.z < Z_CLEARANCE_BETWEEN_PROBES) {
if (current_position.z < Z_CLEARANCE_BETWEEN_PROBES)
do_blocking_move_to_z(Z_CLEARANCE_BETWEEN_PROBES);
current_position = destination;
}
#if DISABLED(NO_VOLUMETRICS)
bool volumetric_was_enabled = parser.volumetric_enabled;

Loading…
Cancel
Save