When homing with Z probe bump at Z_PROBE_SPEED_SLOW

This commit is contained in:
Scott Lahteine 2018-04-28 08:50:23 -05:00
parent 8db7fb226a
commit 683dc24e0f

View File

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