summaryrefslogtreecommitdiff
path: root/Sprinter
diff options
context:
space:
mode:
authormidopple <mdoppler@gmx.at>2012-02-02 18:48:02 +0100
committermidopple <mdoppler@gmx.at>2012-02-02 18:48:02 +0100
commit07a63e7eb1d8d344df53bb85f38df7db8adec6ad (patch)
tree644369133a6b83dfaaea1440a1f7fdec08409c73 /Sprinter
parentda6a2e0436a3878296b665bf2a4f75caa1e2bcb7 (diff)
Option to deaktivate the arc function
Diffstat (limited to 'Sprinter')
-rw-r--r--Sprinter/arc_func.cpp3
1 files changed, 2 insertions, 1 deletions
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