Ver código fonte

Fix disable of Z_HOMING_SENSITIVITY for HOMING_Z_WITH_PROBE

As pointed out in #10532
Scott Lahteine 6 anos atrás
pai
commit
df6bc812b5
1 arquivos alterados com 4 adições e 4 exclusões
  1. 4
    4
      Marlin/src/inc/Conditionals_post.h

+ 4
- 4
Marlin/src/inc/Conditionals_post.h Ver arquivo

@@ -724,14 +724,14 @@
724 724
 #define E3_IS_TRINAMIC (ENABLED(E3_IS_TMC2130) || ENABLED(E3_IS_TMC2208))
725 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 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 729
   #if HOMING_Z_WITH_PROBE
733 730
     #undef Z_HOMING_SENSITIVITY
734 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 735
 #endif
736 736
 
737 737
 // Endstops and bed probe

Carregando…
Cancelar
Salvar