Ver código fonte

Apply minimum timing to BLTouch commands (#14369)

BigIronGuru 5 anos atrás
pai
commit
6578aa4e1b
1 arquivos alterados com 8 adições e 10 exclusões
  1. 8
    10
      Marlin/src/feature/bltouch.h

+ 8
- 10
Marlin/src/feature/bltouch.h Ver arquivo

@@ -36,24 +36,22 @@ typedef unsigned char BLTCommand;
36 36
 #define BLTOUCH_RESET          160
37 37
 
38 38
 /**
39
- * The following commands may require different delays.
39
+ * The following commands require different minimum delays.
40 40
  *
41
- * ANTClabs recommends 2000ms for 5V/OD commands. However it is
42
- * not common for other commands to immediately follow these,
43
- * and testing has shown that these complete in 500ms reliably.
41
+ * 500ms required for a reliable Reset.
44 42
  *
45
- * AntClabs recommends 750ms for Deploy/Stow, otherwise you will
46
- * not catch an alarm state until the following move command.
43
+ * 750ms required for Deploy/Stow, otherwise the alarm state
44
+ *       will not be seen until the following move command.
47 45
  */
48 46
 
49 47
 #ifndef BLTOUCH_SET5V_DELAY
50
-  #define BLTOUCH_SET5V_DELAY   BLTOUCH_DELAY
48
+  #define BLTOUCH_SET5V_DELAY   150
51 49
 #endif
52 50
 #ifndef BLTOUCH_SETOD_DELAY
53
-  #define BLTOUCH_SETOD_DELAY   BLTOUCH_DELAY
51
+  #define BLTOUCH_SETOD_DELAY   150
54 52
 #endif
55 53
 #ifndef BLTOUCH_MODE_STORE_DELAY
56
-  #define BLTOUCH_MODE_STORE_DELAY   BLTOUCH_DELAY
54
+  #define BLTOUCH_MODE_STORE_DELAY 150
57 55
 #endif
58 56
 #ifndef BLTOUCH_DEPLOY_DELAY
59 57
   #define BLTOUCH_DEPLOY_DELAY   750
@@ -62,7 +60,7 @@ typedef unsigned char BLTCommand;
62 60
   #define BLTOUCH_STOW_DELAY     750
63 61
 #endif
64 62
 #ifndef BLTOUCH_RESET_DELAY
65
-  #define BLTOUCH_RESET_DELAY    BLTOUCH_DELAY
63
+  #define BLTOUCH_RESET_DELAY    500
66 64
 #endif
67 65
 
68 66
 class BLTouch {

Carregando…
Cancelar
Salvar