diff options
author | Robert Pelnar <robert.pelnar@seznam.cz> | 2017-07-12 19:17:39 +0300 |
---|---|---|
committer | Robert Pelnar <robert.pelnar@seznam.cz> | 2017-07-12 19:17:39 +0300 |
commit | fa854bde137799c2b4a8f9c12be3668da124c5d5 (patch) | |
tree | e7ca4f2bc2be7c6cb5e3084a715c144164b9d8fb | |
parent | 719ac581683b6568aeb04520c7b2a49ea7a02243 (diff) |
fixed bug - removed variable sg_homing_delay
-rw-r--r-- | Firmware/ultralcd.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Firmware/ultralcd.cpp b/Firmware/ultralcd.cpp index ed7e5e838..b716912ff 100644 --- a/Firmware/ultralcd.cpp +++ b/Firmware/ultralcd.cpp @@ -4375,7 +4375,6 @@ static void lcd_selftest() { #ifdef HAVE_TMC2130_DRIVERS tmc2130_home_exit(); - sg_homing_delay = 0; enable_endstops(false); #endif current_position[X_AXIS] = current_position[X_AXIS] + 14; @@ -4439,8 +4438,6 @@ static bool lcd_selfcheck_axis_sg(char axis) { #ifdef HAVE_TMC2130_DRIVERS tmc2130_home_exit(); - sg_homing_delay = 0; - tmc2130_axis_stalled[axis] = false; enable_endstops(true); #endif @@ -4461,7 +4458,6 @@ static bool lcd_selfcheck_axis_sg(char axis) { st_synchronize(); #ifdef HAVE_TMC2130_DRIVERS - sg_homing_delay = 0; tmc2130_home_exit(); #endif //current_position[axis] = st_get_position_mm(axis); @@ -4480,7 +4476,6 @@ static bool lcd_selfcheck_axis_sg(char axis) { #endif st_synchronize(); #ifdef HAVE_TMC2130_DRIVERS - sg_homing_delay = 0; tmc2130_home_exit(); #endif //current_position[axis] = st_get_position_mm(axis); @@ -4496,7 +4491,6 @@ static bool lcd_selfcheck_axis_sg(char axis) { if (abs(measured_axis_length[i] - axis_length) > max_error_mm) { //axis length #ifdef HAVE_TMC2130_DRIVERS - sg_homing_delay = 0; tmc2130_home_exit(); enable_endstops(false); #endif |