Browse Source

Remove dependency on PI. (#10701)

pull/1/head
ManuelMcLure 7 years ago
committed by Scott Lahteine
parent
commit
8679f671ed
  1. 2
      Marlin/src/gcode/bedlevel/G26.cpp

2
Marlin/src/gcode/bedlevel/G26.cpp

@ -773,7 +773,7 @@ void GcodeSuite::G26() {
#if ENABLED(ARC_SUPPORT)
#define ARC_LENGTH(quarters) (INTERSECTION_CIRCLE_RADIUS * PI * (quarters) / 2)
#define ARC_LENGTH(quarters) (INTERSECTION_CIRCLE_RADIUS * M_PI * (quarters) / 2)
float sx = circle_x + INTERSECTION_CIRCLE_RADIUS, // default to full circle
ex = circle_x + INTERSECTION_CIRCLE_RADIUS,
sy = circle_y, ey = circle_y,

Loading…
Cancel
Save