瀏覽代碼

When homing with Z probe bump at Z_PROBE_SPEED_SLOW

Scott Lahteine 7 年之前
父節點
當前提交
683dc24e0f
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. 3
    0
      Marlin/src/module/motion.cpp

+ 3
- 0
Marlin/src/module/motion.cpp 查看文件

@@ -988,6 +988,9 @@ void prepare_move_to_destination() {
988 988
  * The homing feedrate may vary
989 989
  */
990 990
 inline float get_homing_bump_feedrate(const AxisEnum axis) {
991
+  #if HOMING_Z_WITH_PROBE
992
+    if (axis == Z_AXIS) return Z_PROBE_SPEED_SLOW;
993
+  #endif
991 994
   static const uint8_t homing_bump_divisor[] PROGMEM = HOMING_BUMP_DIVISOR;
992 995
   uint8_t hbd = pgm_read_byte(&homing_bump_divisor[axis]);
993 996
   if (hbd < 1) {

Loading…
取消
儲存