When homing with Z probe bump at Z_PROBE_SPEED_SLOW
This commit is contained in:
parent
8db7fb226a
commit
683dc24e0f
|
@ -988,6 +988,9 @@ void prepare_move_to_destination() {
|
||||||
* The homing feedrate may vary
|
* The homing feedrate may vary
|
||||||
*/
|
*/
|
||||||
inline float get_homing_bump_feedrate(const AxisEnum axis) {
|
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;
|
static const uint8_t homing_bump_divisor[] PROGMEM = HOMING_BUMP_DIVISOR;
|
||||||
uint8_t hbd = pgm_read_byte(&homing_bump_divisor[axis]);
|
uint8_t hbd = pgm_read_byte(&homing_bump_divisor[axis]);
|
||||||
if (hbd < 1) {
|
if (hbd < 1) {
|
||||||
|
|
Loading…
Reference in a new issue