Fix M125 XY parameters, export get_homing_bump_feedrate
This commit is contained in:
@ -294,7 +294,7 @@ void buffer_line_to_destination(const float fr_mm_s) {
|
||||
#endif // IS_KINEMATIC
|
||||
|
||||
/**
|
||||
* Plan a move to (X, Y, Z) and set the current_position
|
||||
* Plan a move to (X, Y, Z) and set the current_position
|
||||
*/
|
||||
void do_blocking_move_to(const float rx, const float ry, const float rz, const float &fr_mm_s/*=0.0*/) {
|
||||
const float old_feedrate_mm_s = feedrate_mm_s;
|
||||
@ -1032,7 +1032,7 @@ void prepare_move_to_destination() {
|
||||
/**
|
||||
* Homing bump feedrate (mm/s)
|
||||
*/
|
||||
inline float get_homing_bump_feedrate(const AxisEnum axis) {
|
||||
float get_homing_bump_feedrate(const AxisEnum axis) {
|
||||
#if HOMING_Z_WITH_PROBE
|
||||
if (axis == Z_AXIS) return MMM_TO_MMS(Z_PROBE_SPEED_SLOW);
|
||||
#endif
|
||||
|
@ -73,6 +73,7 @@ extern float cartes[XYZ];
|
||||
*/
|
||||
extern const float homing_feedrate_mm_s[XYZ];
|
||||
FORCE_INLINE float homing_feedrate(const AxisEnum a) { return pgm_read_float(&homing_feedrate_mm_s[a]); }
|
||||
float get_homing_bump_feedrate(const AxisEnum axis);
|
||||
|
||||
extern float feedrate_mm_s;
|
||||
|
||||
|
Reference in New Issue
Block a user