🎨 Cosmetic cleanup 23-01

This commit is contained in:
Scott Lahteine
2024-01-23 16:05:41 -06:00
parent 5fea79fd07
commit 3ef192e7c7
3 changed files with 51 additions and 55 deletions

View File

@@ -1318,8 +1318,9 @@ float get_move_distance(const xyze_pos_t &diff OPTARG(HAS_ROTATIONAL_AXES, bool
float cartesian_mm = get_move_distance(diff OPTARG(HAS_ROTATIONAL_AXES, cartes_move));
// If the move is very short, check the E move distance
// No E move either? Game over.
TERN_(HAS_EXTRUDERS, if (UNEAR_ZERO(cartesian_mm)) cartesian_mm = ABS(diff.e));
// No E move either? Game over.
if (UNEAR_ZERO(cartesian_mm)) return;
// The length divided by the segment size