From 869d7f370324b5d2439ec6ebb92d391127cc02f9 Mon Sep 17 00:00:00 2001
From: GMagician <GMagician@users.noreply.github.com>
Date: Thu, 17 Aug 2017 21:43:47 +0200
Subject: [PATCH] #7504 missing part

#7504 integration has missed this part.
When more than 1 servo is used with bltouch it's impossible to predefine default servo delay for it.
In my original fix I completely removed this part but maybe this is a better compromise
---
 Marlin/Conditionals_LCD.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Marlin/Conditionals_LCD.h b/Marlin/Conditionals_LCD.h
index d369316624..69526dec7f 100644
--- a/Marlin/Conditionals_LCD.h
+++ b/Marlin/Conditionals_LCD.h
@@ -376,8 +376,10 @@
       #define NUM_SERVOS (Z_ENDSTOP_SERVO_NR + 1)
     #endif
     #undef DEACTIVATE_SERVOS_AFTER_MOVE
-    #undef SERVO_DELAY
-    #define SERVO_DELAY { 50 }
+    #if NUM_SERVOS = 1
+      #undef SERVO_DELAY
+      #define SERVO_DELAY { 50 }
+	#endif
     #ifndef BLTOUCH_DELAY
       #define BLTOUCH_DELAY 375
     #endif
-- 
GitLab