Browse Source

When homing with Z probe bump at Z_PROBE_SPEED_SLOW

Scott Lahteine 7 years ago
parent
commit
683dc24e0f
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      Marlin/src/module/motion.cpp

+ 3
- 0
Marlin/src/module/motion.cpp View File

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…
Cancel
Save