Fix G26 corrupted position

2.0.x
Scott Lahteine 5 years ago
parent 983a8cee45
commit a96be32fae

@ -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