Fix G26 corrupted position
This commit is contained in:
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…
Reference in New Issue
Block a user