Browse Source

Merge pull request #3467 from AnHardt/Fix-Servo-without-endstop-probe

Fix-Servo-without-endstop/probe
Scott Lahteine 8 years ago
parent
commit
e2a197ab71
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Conditionals.h

+ 1
- 1
Marlin/Conditionals.h View File

706
   #endif
706
   #endif
707
 
707
 
708
   #if ( (HAS_Z_MIN && ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)) || HAS_Z_PROBE ) && \
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
     #define HAS_Z_MIN_PROBE
710
     #define HAS_Z_MIN_PROBE
711
   #endif
711
   #endif
712
 
712
 

Loading…
Cancel
Save