Skip to content

Commit

Permalink
⚡️ Fix and improve Inline Laser Power (MarlinFirmware#22690)
Browse files Browse the repository at this point in the history
  • Loading branch information
descipher authored and kad committed Aug 30, 2022
1 parent aa09046 commit e07330f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Marlin/src/module/planner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2173,8 +2173,8 @@ bool Planner::_populate_block(
);
#elif ENABLED(FOAMCUTTER_XYUV)
#if HAS_J_AXIS
// Special 5 axis kinematics. Return the largest distance move from either X/Y or I/J plane
_MAX(sq(steps_dist_mm.x) + sq(steps_dist_mm.y), sq(steps_dist_mm.i) + sq(steps_dist_mm.j))
// Special 5 axis kinematics. Return the largest distance move from either X/Y or I/J plane
_MAX(sq(steps_dist_mm.x) + sq(steps_dist_mm.y), sq(steps_dist_mm.i) + sq(steps_dist_mm.j))
#else // Foamcutter with only two axes (XY)
sq(steps_dist_mm.x) + sq(steps_dist_mm.y)
#endif
Expand Down

0 comments on commit e07330f

Please sign in to comment.