瀏覽代碼

Apply minimum timing to BLTouch commands (#14369)

BigIronGuru 6 年之前
父節點
當前提交
6578aa4e1b
共有 1 個檔案被更改,包括 8 行新增10 行删除
  1. 8
    10
      Marlin/src/feature/bltouch.h

+ 8
- 10
Marlin/src/feature/bltouch.h 查看文件

36
 #define BLTOUCH_RESET          160
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
 #ifndef BLTOUCH_SET5V_DELAY
47
 #ifndef BLTOUCH_SET5V_DELAY
50
-  #define BLTOUCH_SET5V_DELAY   BLTOUCH_DELAY
48
+  #define BLTOUCH_SET5V_DELAY   150
51
 #endif
49
 #endif
52
 #ifndef BLTOUCH_SETOD_DELAY
50
 #ifndef BLTOUCH_SETOD_DELAY
53
-  #define BLTOUCH_SETOD_DELAY   BLTOUCH_DELAY
51
+  #define BLTOUCH_SETOD_DELAY   150
54
 #endif
52
 #endif
55
 #ifndef BLTOUCH_MODE_STORE_DELAY
53
 #ifndef BLTOUCH_MODE_STORE_DELAY
56
-  #define BLTOUCH_MODE_STORE_DELAY   BLTOUCH_DELAY
54
+  #define BLTOUCH_MODE_STORE_DELAY 150
57
 #endif
55
 #endif
58
 #ifndef BLTOUCH_DEPLOY_DELAY
56
 #ifndef BLTOUCH_DEPLOY_DELAY
59
   #define BLTOUCH_DEPLOY_DELAY   750
57
   #define BLTOUCH_DEPLOY_DELAY   750
62
   #define BLTOUCH_STOW_DELAY     750
60
   #define BLTOUCH_STOW_DELAY     750
63
 #endif
61
 #endif
64
 #ifndef BLTOUCH_RESET_DELAY
62
 #ifndef BLTOUCH_RESET_DELAY
65
-  #define BLTOUCH_RESET_DELAY    BLTOUCH_DELAY
63
+  #define BLTOUCH_RESET_DELAY    500
66
 #endif
64
 #endif
67
 
65
 
68
 class BLTouch {
66
 class BLTouch {

Loading…
取消
儲存