Silence signed/unsigned comparison warning. (#13508)

2.0.x
Marcio Teixeira 6 years ago committed by Scott Lahteine
parent 7240e3a68f
commit c6466c23fe

@ -85,7 +85,7 @@ void plan_arc(
if (angular_travel < 0) angular_travel += RADIANS(360);
#ifdef MIN_ARC_SEGMENTS
uint16_t min_segments = CEIL((MIN_ARC_SEGMENTS) * (angular_travel / RADIANS(360)));
NOLESS(min_segments, 1);
NOLESS(min_segments, 1U);
#else
constexpr uint16_t min_segments = 1;
#endif

Loading…
Cancel
Save