소스 검색

Fix disable of Z_HOMING_SENSITIVITY for HOMING_Z_WITH_PROBE

As pointed out in #10532
Scott Lahteine 7 년 전
부모
커밋
df6bc812b5
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4
    4
      Marlin/src/inc/Conditionals_post.h

+ 4
- 4
Marlin/src/inc/Conditionals_post.h 파일 보기

724
 #define E3_IS_TRINAMIC (ENABLED(E3_IS_TMC2130) || ENABLED(E3_IS_TMC2208))
724
 #define E3_IS_TRINAMIC (ENABLED(E3_IS_TMC2130) || ENABLED(E3_IS_TMC2208))
725
 #define E4_IS_TRINAMIC (ENABLED(E4_IS_TMC2130) || ENABLED(E4_IS_TMC2208))
725
 #define E4_IS_TRINAMIC (ENABLED(E4_IS_TMC2130) || ENABLED(E4_IS_TMC2208))
726
 
726
 
727
-// Disable Z axis sensorless homing if a probe is used to home the Z axis
728
 #if ENABLED(SENSORLESS_HOMING)
727
 #if ENABLED(SENSORLESS_HOMING)
729
-  #define X_SENSORLESS (ENABLED(X_IS_TMC2130) && defined(X_HOMING_SENSITIVITY))
730
-  #define Y_SENSORLESS (ENABLED(Y_IS_TMC2130) && defined(Y_HOMING_SENSITIVITY))
731
-  #define Z_SENSORLESS (ENABLED(Z_IS_TMC2130) && defined(Z_HOMING_SENSITIVITY))
728
+  // Disable Z axis sensorless homing if a probe is used to home the Z axis
732
   #if HOMING_Z_WITH_PROBE
729
   #if HOMING_Z_WITH_PROBE
733
     #undef Z_HOMING_SENSITIVITY
730
     #undef Z_HOMING_SENSITIVITY
734
   #endif
731
   #endif
732
+  #define X_SENSORLESS (ENABLED(X_IS_TMC2130) && defined(X_HOMING_SENSITIVITY))
733
+  #define Y_SENSORLESS (ENABLED(Y_IS_TMC2130) && defined(Y_HOMING_SENSITIVITY))
734
+  #define Z_SENSORLESS (ENABLED(Z_IS_TMC2130) && defined(Z_HOMING_SENSITIVITY))
735
 #endif
735
 #endif
736
 
736
 
737
 // Endstops and bed probe
737
 // Endstops and bed probe

Loading…
취소
저장