Browse Source

Silence signed/unsigned comparison warning. (#13508)

pull/1/head
Marcio Teixeira 6 years ago
committed by Scott Lahteine
parent
commit
c6466c23fe
  1. 2
      Marlin/src/gcode/motion/G2_G3.cpp

2
Marlin/src/gcode/motion/G2_G3.cpp

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