From 07a63e7eb1d8d344df53bb85f38df7db8adec6ad Mon Sep 17 00:00:00 2001 From: midopple Date: Thu, 2 Feb 2012 18:48:02 +0100 Subject: Option to deaktivate the arc function --- Sprinter/arc_func.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sprinter/arc_func.cpp b/Sprinter/arc_func.cpp index 211d3dd..d088337 100644 --- a/Sprinter/arc_func.cpp +++ b/Sprinter/arc_func.cpp @@ -25,6 +25,7 @@ #include "Configuration.h" #include "Sprinter.h" +#ifdef USE_ARC_FUNCTION // The arc is approximated by generating a huge number of tiny, linear segments. The length of each // segment is configured in settings.mm_per_arc_segment. void mc_arc(float *position, float *target, float *offset, uint8_t axis_0, uint8_t axis_1, @@ -143,4 +144,4 @@ void mc_arc(float *position, float *target, float *offset, uint8_t axis_0, uint8 // plan_set_acceleration_manager_enabled(acceleration_manager_was_enabled); } - +#endif -- cgit v1.2.1