Fix calibrate_z_auto crashing Z-axis

Steps to reproduce:
1. Run M45 Z after booting the printer up

Change in memory:
Flash: -4 bytes
SRAM: 0 bytes
This commit is contained in:
Guðni Már Gilbert 2022-09-03 10:58:54 +00:00 committed by D.R.racer
parent 03b8a6e464
commit 05bf5de518
1 changed files with 0 additions and 1 deletions

View File

@ -2178,7 +2178,6 @@ bool calibrate_z_auto()
// current_position[axis] = 0;
// plan_set_position_curposXYZE();
tmc2130_home_exit();
enable_endstops(false);
current_position[Z_AXIS] = 0;
plan_set_position_curposXYZE();
set_destination_to_current();