From 6578aa4e1b7b36c084ec49f288b38a2b43902720 Mon Sep 17 00:00:00 2001
From: BigIronGuru <51454533+BigIronGuru@users.noreply.github.com>
Date: Sun, 23 Jun 2019 00:20:19 +0200
Subject: [PATCH] Apply minimum timing to BLTouch commands (#14369)

---
 Marlin/src/feature/bltouch.h | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/Marlin/src/feature/bltouch.h b/Marlin/src/feature/bltouch.h
index b349c61804..8c05008d6e 100644
--- a/Marlin/src/feature/bltouch.h
+++ b/Marlin/src/feature/bltouch.h
@@ -36,24 +36,22 @@ typedef unsigned char BLTCommand;
 #define BLTOUCH_RESET          160
 
 /**
- * The following commands may require different delays.
+ * The following commands require different minimum delays.
  *
- * ANTClabs recommends 2000ms for 5V/OD commands. However it is
- * not common for other commands to immediately follow these,
- * and testing has shown that these complete in 500ms reliably.
+ * 500ms required for a reliable Reset.
  *
- * AntClabs recommends 750ms for Deploy/Stow, otherwise you will
- * not catch an alarm state until the following move command.
+ * 750ms required for Deploy/Stow, otherwise the alarm state
+ *       will not be seen until the following move command.
  */
 
 #ifndef BLTOUCH_SET5V_DELAY
-  #define BLTOUCH_SET5V_DELAY   BLTOUCH_DELAY
+  #define BLTOUCH_SET5V_DELAY   150
 #endif
 #ifndef BLTOUCH_SETOD_DELAY
-  #define BLTOUCH_SETOD_DELAY   BLTOUCH_DELAY
+  #define BLTOUCH_SETOD_DELAY   150
 #endif
 #ifndef BLTOUCH_MODE_STORE_DELAY
-  #define BLTOUCH_MODE_STORE_DELAY   BLTOUCH_DELAY
+  #define BLTOUCH_MODE_STORE_DELAY 150
 #endif
 #ifndef BLTOUCH_DEPLOY_DELAY
   #define BLTOUCH_DEPLOY_DELAY   750
@@ -62,7 +60,7 @@ typedef unsigned char BLTCommand;
   #define BLTOUCH_STOW_DELAY     750
 #endif
 #ifndef BLTOUCH_RESET_DELAY
-  #define BLTOUCH_RESET_DELAY    BLTOUCH_DELAY
+  #define BLTOUCH_RESET_DELAY    500
 #endif
 
 class BLTouch {
-- 
GitLab