Browse Source

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
Guðni Már Gilbert 2 years ago
parent
commit
05bf5de518
1 changed files with 0 additions and 1 deletions
  1. 0 1
      Firmware/Marlin_main.cpp

+ 0 - 1
Firmware/Marlin_main.cpp

@@ -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();