🐛 Fix kinematic feedrate (#24568)

This commit is contained in:
DerAndere
2022-07-31 03:49:15 +02:00
committed by Scott Lahteine
parent bbaccd342e
commit 9ee558afe1
2 changed files with 6 additions and 4 deletions

View File

@ -1084,7 +1084,7 @@ FORCE_INLINE void segment_idle(millis_t &next_idle_ms) {
if (!position_is_reachable(destination)) return true;
// Get the linear distance in XYZ
float cartesian_mm = diff.magnitude();
float cartesian_mm = xyz_float_t(diff).magnitude();
// If the move is very short, check the E move distance
TERN_(HAS_EXTRUDERS, if (UNEAR_ZERO(cartesian_mm)) cartesian_mm = ABS(diff.e));