瀏覽代碼

#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
GMagician 7 年之前
父節點
當前提交
869d7f3703
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4
    2
      Marlin/Conditionals_LCD.h

+ 4
- 2
Marlin/Conditionals_LCD.h 查看文件

@@ -376,8 +376,10 @@
376 376
       #define NUM_SERVOS (Z_ENDSTOP_SERVO_NR + 1)
377 377
     #endif
378 378
     #undef DEACTIVATE_SERVOS_AFTER_MOVE
379
-    #undef SERVO_DELAY
380
-    #define SERVO_DELAY { 50 }
379
+    #if NUM_SERVOS = 1
380
+      #undef SERVO_DELAY
381
+      #define SERVO_DELAY { 50 }
382
+	#endif
381 383
     #ifndef BLTOUCH_DELAY
382 384
       #define BLTOUCH_DELAY 375
383 385
     #endif

Loading…
取消
儲存