Silence signed/unsigned comparison warning. (#13508)

This commit is contained in:
Marcio Teixeira 2019-03-29 12:33:45 -06:00 committed by Scott Lahteine
parent 7240e3a68f
commit c6466c23fe

View file

@ -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