From 56e51efeea9c8a9cee4e24a5940d9d9d3fa517b6 Mon Sep 17 00:00:00 2001 From: Ryan V1 <55478432+V1EngineeringInc@users.noreply.github.com> Date: Sat, 11 Jan 2020 15:16:16 -0800 Subject: [PATCH] Use RECIPROCAL macro (not _RECIP) (#16530) --- Marlin/src/gcode/motion/G2_G3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/gcode/motion/G2_G3.cpp b/Marlin/src/gcode/motion/G2_G3.cpp index e274b6a5c..1487505e0 100644 --- a/Marlin/src/gcode/motion/G2_G3.cpp +++ b/Marlin/src/gcode/motion/G2_G3.cpp @@ -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;