소스 검색

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
  * The homing feedrate may vary
988
  * The homing feedrate may vary
989
  */
989
  */
990
 inline float get_homing_bump_feedrate(const AxisEnum axis) {
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
   static const uint8_t homing_bump_divisor[] PROGMEM = HOMING_BUMP_DIVISOR;
994
   static const uint8_t homing_bump_divisor[] PROGMEM = HOMING_BUMP_DIVISOR;
992
   uint8_t hbd = pgm_read_byte(&homing_bump_divisor[axis]);
995
   uint8_t hbd = pgm_read_byte(&homing_bump_divisor[axis]);
993
   if (hbd < 1) {
996
   if (hbd < 1) {

Loading…
취소
저장