소스 검색

SG homing - fixed bug - set sg_homing_delay to zero before move.

Robert Pelnar 7 년 전
부모
커밋
21974ae07a
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      Firmware/Marlin_main.cpp

+ 3 - 0
Firmware/Marlin_main.cpp

@@ -2005,6 +2005,7 @@ void homeaxis(int axis) {
         plan_buffer_line(destination[X_AXIS], destination[Y_AXIS], destination[Z_AXIS], destination[E_AXIS], feedrate/60, active_extruder);
 
 #ifdef HAVE_TMC2130_DRIVERS
+		sg_homing_delay = 0;
 		tmc2130_axis_stalled[axis] = false;
 #endif
         st_synchronize();
@@ -2015,6 +2016,7 @@ void homeaxis(int axis) {
         plan_buffer_line(destination[X_AXIS], destination[Y_AXIS], destination[Z_AXIS], destination[E_AXIS], feedrate/60, active_extruder);
 
 #ifdef HAVE_TMC2130_DRIVERS
+		sg_homing_delay = 0;
 		tmc2130_axis_stalled[axis] = false;
 #endif
         st_synchronize();
@@ -2029,6 +2031,7 @@ void homeaxis(int axis) {
         plan_buffer_line(destination[X_AXIS], destination[Y_AXIS], destination[Z_AXIS], destination[E_AXIS], feedrate/60, active_extruder);
 
 #ifdef HAVE_TMC2130_DRIVERS
+		sg_homing_delay = 0;
 		tmc2130_axis_stalled[axis] = false;
 #endif
         st_synchronize();