Browse Source

Fix-Servo-without-endstop-probe

Sorry for not having realized someone (me) redefined not existing servo pinns to -1, some lines above.
This is a simple error - not a feature.
AnHardt 8 years ago
parent
commit
9cc571b312
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Conditionals.h

+ 1
- 1
Marlin/Conditionals.h View File

@@ -706,7 +706,7 @@
706 706
   #endif
707 707
 
708 708
   #if ( (HAS_Z_MIN && ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)) || HAS_Z_PROBE ) && \
709
-    ( ENABLED(FIX_MOUNTED_PROBE) || defined(Z_ENDSTOP_SERVO_NR) || ENABLED(Z_PROBE_ALLEN_KEY) || ENABLED(Z_PROBE_SLED) )
709
+    ( ENABLED(FIX_MOUNTED_PROBE) || (Z_ENDSTOP_SERVO_NR >= 0) || ENABLED(Z_PROBE_ALLEN_KEY) || ENABLED(Z_PROBE_SLED) )
710 710
     #define HAS_Z_MIN_PROBE
711 711
   #endif
712 712
 

Loading…
Cancel
Save