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:
parent
03b8a6e464
commit
05bf5de518
|
|
@ -2178,7 +2178,6 @@ bool calibrate_z_auto()
|
||||||
// current_position[axis] = 0;
|
// current_position[axis] = 0;
|
||||||
// plan_set_position_curposXYZE();
|
// plan_set_position_curposXYZE();
|
||||||
tmc2130_home_exit();
|
tmc2130_home_exit();
|
||||||
enable_endstops(false);
|
|
||||||
current_position[Z_AXIS] = 0;
|
current_position[Z_AXIS] = 0;
|
||||||
plan_set_position_curposXYZE();
|
plan_set_position_curposXYZE();
|
||||||
set_destination_to_current();
|
set_destination_to_current();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue