|
|
|
|
106
|
const feedRate_t scaled_fr_mm_s = MMS_SCALED(feedrate_mm_s);
|
106
|
const feedRate_t scaled_fr_mm_s = MMS_SCALED(feedrate_mm_s);
|
107
|
|
107
|
|
108
|
#ifdef ARC_SEGMENTS_PER_SEC
|
108
|
#ifdef ARC_SEGMENTS_PER_SEC
|
109
|
- float seg_length = scaled_fr_mm_s * _RECIP(ARC_SEGMENTS_PER_SEC);
|
|
|
|
|
109
|
+ float seg_length = scaled_fr_mm_s * RECIPROCAL(ARC_SEGMENTS_PER_SEC);
|
110
|
NOLESS(seg_length, MM_PER_ARC_SEGMENT);
|
110
|
NOLESS(seg_length, MM_PER_ARC_SEGMENT);
|
111
|
#else
|
111
|
#else
|
112
|
constexpr float seg_length = MM_PER_ARC_SEGMENT;
|
112
|
constexpr float seg_length = MM_PER_ARC_SEGMENT;
|