Merge pull request #25 from XPila/MK3
fixed bug - removed variable sg_homing_delay
This commit is contained in:
commit
11725c12df
1 changed files with 0 additions and 6 deletions
|
@ -4375,7 +4375,6 @@ static void lcd_selftest()
|
||||||
{
|
{
|
||||||
#ifdef HAVE_TMC2130_DRIVERS
|
#ifdef HAVE_TMC2130_DRIVERS
|
||||||
tmc2130_home_exit();
|
tmc2130_home_exit();
|
||||||
sg_homing_delay = 0;
|
|
||||||
enable_endstops(false);
|
enable_endstops(false);
|
||||||
#endif
|
#endif
|
||||||
current_position[X_AXIS] = current_position[X_AXIS] + 14;
|
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
|
#ifdef HAVE_TMC2130_DRIVERS
|
||||||
tmc2130_home_exit();
|
tmc2130_home_exit();
|
||||||
sg_homing_delay = 0;
|
|
||||||
tmc2130_axis_stalled[axis] = false;
|
|
||||||
enable_endstops(true);
|
enable_endstops(true);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -4461,7 +4458,6 @@ static bool lcd_selfcheck_axis_sg(char axis) {
|
||||||
st_synchronize();
|
st_synchronize();
|
||||||
|
|
||||||
#ifdef HAVE_TMC2130_DRIVERS
|
#ifdef HAVE_TMC2130_DRIVERS
|
||||||
sg_homing_delay = 0;
|
|
||||||
tmc2130_home_exit();
|
tmc2130_home_exit();
|
||||||
#endif
|
#endif
|
||||||
//current_position[axis] = st_get_position_mm(axis);
|
//current_position[axis] = st_get_position_mm(axis);
|
||||||
|
@ -4480,7 +4476,6 @@ static bool lcd_selfcheck_axis_sg(char axis) {
|
||||||
#endif
|
#endif
|
||||||
st_synchronize();
|
st_synchronize();
|
||||||
#ifdef HAVE_TMC2130_DRIVERS
|
#ifdef HAVE_TMC2130_DRIVERS
|
||||||
sg_homing_delay = 0;
|
|
||||||
tmc2130_home_exit();
|
tmc2130_home_exit();
|
||||||
#endif
|
#endif
|
||||||
//current_position[axis] = st_get_position_mm(axis);
|
//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) {
|
if (abs(measured_axis_length[i] - axis_length) > max_error_mm) {
|
||||||
//axis length
|
//axis length
|
||||||
#ifdef HAVE_TMC2130_DRIVERS
|
#ifdef HAVE_TMC2130_DRIVERS
|
||||||
sg_homing_delay = 0;
|
|
||||||
tmc2130_home_exit();
|
tmc2130_home_exit();
|
||||||
enable_endstops(false);
|
enable_endstops(false);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue