Skip to content
Snippets Groups Projects
Commit 56e51efe authored by Ryan V1's avatar Ryan V1 Committed by Scott Lahteine
Browse files

Use RECIPROCAL macro (not _RECIP) (#16530)

parent d22eb261
No related branches found
No related tags found
No related merge requests found
......@@ -106,7 +106,7 @@ void plan_arc(
const feedRate_t scaled_fr_mm_s = MMS_SCALED(feedrate_mm_s);
#ifdef ARC_SEGMENTS_PER_SEC
float seg_length = scaled_fr_mm_s * _RECIP(ARC_SEGMENTS_PER_SEC);
float seg_length = scaled_fr_mm_s * RECIPROCAL(ARC_SEGMENTS_PER_SEC);
NOLESS(seg_length, MM_PER_ARC_SEGMENT);
#else
constexpr float seg_length = MM_PER_ARC_SEGMENT;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment